NAME

DTA::CAB::Analyzer::MootSub - post-processing for moot PoS tagger in DTA chain

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DTA::CAB::Analyzer::MootSub;
 
 ##========================================================================
 ## Methods
 
 $obj = CLASS_OR_OBJ->new(%args);
 $bool = $anl->doAnalyze(\%opts, $name);
 @keys = $anl->typeKeys();
 

DESCRIPTION

This class provides a DTA::CAB::Analyzer implementation for post-processing of moot PoS tagger output in the DTA analysis chain DTA::CAB::Chain::DTA. In particular, this class tweaks $tok->{moot}{word} and instantiates $tok->{moot}{lemma}.

Methods

Variable: %LITERAL_WORD_TAGS

(undocumented)

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

object structure, %args:

 mootLabel => $label,    ##-- label for Moot tagger object (default='moot')
 lz => $lemmatizer,      ##-- DTA::CAB::Analyzer::Lemmatizer sub-object
doAnalyze
 $bool = $anl->doAnalyze(\%opts, $name);

override: only allow analyzeSentences()

analyzeSentences

Actual analysis guts.

typeKeys
 @keys = $anl->typeKeys();

Returns list of type-wise keys to be expanded for this analyzer by expandTypes() Override returns @$anl{qw(mootLabel)}.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011-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(3pm), DTA::CAB::Chain(3pm), DTA::CAB(3pm), perl(1), ...