DTA::CAB::Analyzer::Morph::Helsinki - morphological analysis via Gfsm automata, for use with Helsinki-style transducers
use DTA::CAB::Analyzer::Morph::Helsinki; $morph = DTA::CAB::Analyzer::Morph::Helsinki->new(%args); $morph->analyze($tok);
DTA::CAB::Analyzer::Morph::Helsinki is a simplified wrapper for DTA::CAB::Analyzer::Automaton::Gfsm which sets the following default options:
##-- analysis selection label => 'morph', ##-- analysis output property wantAnalysisLo => 0, ##-- don't output lower label paths tolower => 1, ##-- bash input to lower-case
It also adds TAGH-style tag-extraction post-processing in its analyzeTypes() method.
Morphological transducers are available in HFST format for various languages from https://sourceforge.net/projects/hfst/files/resources/morphological-transducers/. In order to be used with this package, the HFST transducers must be converted to Gfsm format, and may require additional transducer-specific adjustments (e.g. alphabet conventions for tag-extraction heuristics).
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2016-2021 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.
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.