DTA::CAB::Analyzer::DTAClean - Chain::DTA cleanup (prune sensitive and redundant data from document)
##======================================================================== ## PRELIMINARIES use DTA::CAB::Analyzer::DTAClean; ##======================================================================== ## Constructors etc. $obj = CLASS_OR_OBJ->new(%args); ##======================================================================== ## Methods: Analysis $bool = $anl->doAnalyze(\%opts, $name); $doc = $ach->analyzeClean($doc,\%opts);
DTA::CAB::Analyzer::DTAClean DTA::CAB::Analyzer::DTAClean provides a DTA::CAB::Analyzer class for removing temporary internal data from documents processed with a DTA::CAB::Chain::DTA analyzer.
$obj = CLASS_OR_OBJ->new(%args);
%$obj, %args:
label => $label, ##-- default='clean' forceClean => $bool, ##-- always run analyzeClean() regardless of user options? (also checked in analyzeClean() itself)
$bool = $anl->doAnalyze(\%opts, $name);
Alias for $anl->can("analyze${name}") && (!exists($opts{"doAnalyze${name}"}) || $opts{"doAnalyze${name}"}). Override checks $anl->{forceClean} flag.
$doc = $ach->analyzeClean($doc,\%opts);
Cleanup any temporary data associated with $doc. Override removes all but the following keys from each token in $doc:
text xlit mlatin eqpho eqrw eqlemma moot
Additionally, the 'analyses' key of the 'moot' field is removed if present.
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::Chain::DTA(3pm), DTA::CAB::Analyzer(3pm), DTA::CAB::Chain(3pm), DTA::CAB(3pm), perl(1), ...
1 POD Error
The following errors were encountered while parsing the POD:
=back without =over
To install DTA::CAB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DTA::CAB
CPAN shell
perl -MCPAN -e shell install DTA::CAB
For more information on module installation, please visit the detailed CPAN module installation guide.