DTA::CAB::Analyzer::MootSub - post-processing for moot PoS tagger in DTA chain
##========================================================================
## PRELIMINARIES
use DTA::CAB::Analyzer::MootSub;
##========================================================================
## Methods
$obj = CLASS_OR_OBJ->new(%args);
$bool = $anl->doAnalyze(\%opts, $name);
@keys = $anl->typeKeys();
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}.
(undocumented)
$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
$bool = $anl->doAnalyze(\%opts, $name);
override: only allow analyzeSentences()
Actual analysis guts.
@keys = $anl->typeKeys();
Returns list of type-wise keys to be expanded for this analyzer by expandTypes() Override returns @$anl{qw(mootLabel)}.
Bryan Jurish <moocow@cpan.org>
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.
dta-cab-analyze.perl(1), DTA::CAB::Analyzer(3pm), DTA::CAB::Chain(3pm), DTA::CAB(3pm), perl(1), ...