DTA::CAB::Analyzer::MorphSafe - safety checker for analyses output by DTA::CAB::Analyzer::Morph (TAGH)
use DTA::CAB::Analyzer::MorphSafe; $msafe = CLASS_OR_OBJ->new(%args); $bool = $msafe->ensureLoaded();
DTA::CAB::Analyzer::MorphSafe inherits from DTA::CAB::Analyzer.
$msafe = CLASS_OR_OBJ->new(%args);
%args, %$msafe:
##-- selection options allowTokenizerAnalyses => 1, allowExlexAnalyses => 1, ##-- dictionary options badTypesFile => $filename, ##-- filename of ($text "\t" $isGoodBool) mapping for raw utf8 text types badMorphsFile => $filename, ##-- filename of ($taghMorph "\t" $isBadBool) mapping for TAGH morph components badTagsFile => $filename, ##-- filename of ($taghTag "\t" $isBadBool) mapping for TAGH tags (tags appear without '[_', ']') ##-- low-level data (after prepare()) badTypes => \%badTypes, ##-- hash of bad utf8 text types ($text=>$isGoodBool) badMorphs => \%badMorphs, ##-- hash of bad TAGH morphs ($taghMorph=>$isBadBool) badTags => \%badTags, ##-- hash of bad TAGH tags ($taghTag=>$isBadBool)
$bool = $msafe->ensureLoaded();
Override: ensures analysis data is loaded
$doc = $msafe->analyzeTypes($doc,\%types,\%opts)
Override: implements DTA::CAB::Analyzer::analyzeTypes.
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2009-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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
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.