DTA::CAB::Analyzer::Moot::DynLex - Moot analysis API for word n-gram disambiguation using dynamic lexicon
##========================================================================
## PRELIMINARIES
use DTA::CAB::Analyzer::Moot::DynLex;
##========================================================================
## Constructors etc.
$obj = CLASS_OR_OBJ->new(%args);
##========================================================================
## Methods: Generic
$bool = $moot->hmmOk();
$class = $moot->hmmClass();
DTA::CAB::Analyzer::Moot::DynLex inherits from DTA::CAB::Analyzer::Moot.
$obj = CLASS_OR_OBJ->new(%args);
Object structure, %args
(
##-- new in Analyzer::Moot::DynLex
#(nothing new here)
#
##==== Inherited from Analyzer::Moot
##
##-- Filename Options
modelFile => $filename, ##-- default: none
##
##-- Analysis Options
hmmargs => \%args, ##-- clobber moot::HMM->new() defaults (default: verbose=>$moot::HMMvlWarnings)
modelenc => $enc, ##-- encoding of model file (default='latin1')
analyzeTextSrc => $src, ##-- source token 'text' key (default='text')
analyzeTagSrcs => \@srcs, ##-- source token 'analyses' key(s) (default=['morph'], undef for none)
analyzeDst => $dst, ##-- destination key (default='dmoot')
prune => $bool, ##-- if true (default), prune analyses after tagging
##
##-- Analysis Objects
hmm => $hmm, ##-- a moot::DynLexHMM_Boltzmann object
)
$bool = $moot->hmmOk();
Should return false iff HMM is undefined or "empty". Default version checks for non-empty 'n_tags'.
$class = $moot->hmmClass();
Returns class for $moot->{hmm} object. Default just returns 'moot::HMM'.
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2009 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.8.4 or, at your option, any later version of Perl 5 you may have available.
dta-cab-analyze.perl(1), dta-cab-convert.perl(1), dta-cab-cachegen.perl(1), dta-cab-xmlrpc-server.perl(1), dta-cab-xmlrpc-client.perl(1), DTA::CAB(3pm), RPC::XML(3pm), perl(1), mootutils(1), mootdyn(1), ...