DTA::CAB::Analyzer::TokPP - type-level heuristic token preprocessor (for punctuation etc): high-level wrapper
##========================================================================
## PRELIMINARIES
use DTA::CAB::Analyzer::TokPP;
##========================================================================
## Methods
$obj = CLASS_OR_OBJ->new(%args);
$bool = $anl->ensureLoaded();
$doc = $tpp->analyzeTypes($doc,\%types,\%opts);
DTA::CAB::Analyzer::TokPP provides a DTA::CAB::Analyzer interface to some simple text-based type-wise word analysis heuristics, e.g. for detection of punctutation, numeric strings, etc. It wraps DTA::CAB::Analyzer::TokPP::Waste.
$obj = CLASS_OR_OBJ->new(%args);
%$obj, %args:
label => $label, ##-- analyzer label; default='tokpp'
$bool = $anl->ensureLoaded();
Ensures analysis data is loaded. Always returns 1.
$doc = $tpp->analyzeTypes($doc,\%types,\%opts);
Perform type-wise analysis of all (text) types in values(%types). Override sets:
$tok->{$anl->{label}} = \@morphHiStrings
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2010-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), ...