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


NAME

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

(Back to Top)


SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DTA::CAB::Analyzer::Moot::DynLex;
 
 ##========================================================================
 ## Constructors etc.
 
 $obj = CLASS_OR_OBJ->new(%args);
 
 ##========================================================================
 ## Methods: Generic
 
 $bool = $moot->hmmOk();
 $class = $moot->hmmClass();
 
=cut

##======================================================================== ## DESCRIPTION =pod

(Back to Top)


DESCRIPTION

Globals

Variable: @ISA

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

Constructors etc.

new
 $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
    )

Methods: Generic

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

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

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

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

(Back to Top)


AUTHOR

Bryan Jurish <jurish@bbaw.de>

(Back to Top)


COPYRIGHT AND LICENSE

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.

(Back to Top)


SEE ALSO

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), ...

(Back to Top)

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