The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DTA::CAB::Analyzer::Moot::Boltzmann - Moot analysis API for word n-gram disambiguation using dynamic lexicon

SYNOPSIS

##========================================================================
## PRELIMINARIES

use DTA::CAB::Analyzer::Moot::Boltzmann;

##========================================================================
## Constructors etc.

$obj = CLASS_OR_OBJ->new(%args);

##========================================================================
## Methods: Generic

$bool = $moot->hmmOk();
$class = $moot->hmmClass();

DESCRIPTION

Globals

Variable: @ISA

DTA::CAB::Analyzer::Moot::Boltzmann inherits from DTA::CAB::Analyzer::Moot.

Constructors etc.

new
$obj = CLASS_OR_OBJ->new(%args);

Object structure, %args

(
 ##-- new in Analyzer::Moot::Boltzmann
 analyzeCostFuncs => [
 #
 ##==== Inherited from Analyzer::Moot
 ##...
 ##
 ##-- Analysis Objects
 hmm            => $hmm,   ##-- a moot::HMM::Boltzmann object
)

Methods: Generic

hmmOk
$bool = $moot->hmmOk();

Should return false iff HMM is undefined or "empty". Default version checks for non-zero 'n_tags'.

hmmClass
$class = $moot->hmmClass();

Returns class for $moot->{hmm} object. Default just returns 'moot::HMM'.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2019 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

dta-cab-analyze.perl(1), DTA::CAB::Analyzer::Moot(3pm), DTA::CAB(3pm), Moot(3pm), mootutils(1), mootdyn(1), perl(1), ...