DTA::CAB::Analyzer::EqPho::FST - FST-based phonetic form expander
use DTA::CAB::Analyzer::EqPho::FST;
$eqp = DTA::CAB::Analyzer::EqPho::FST->new(%args);
$eqp->analyze($tok);
WORK IN PROGRESS
Gfsm::Automaton-based phonetic equivalence-class expander. Composite analyzers should also include an 'lts' phonetic analyzer.
DTA::CAB::Analyzer::EqPho::FST is a just a simplified wrapper for DTA::CAB::Analyzer::Automaton::Gfsm which sets the following default options:
analyzeSrc => 'lts', ##-- analysis input property
analyzeDst => 'eqpho', ##-- analysis output property
attInput => 1, ##-- respect AT&T-lextools escapes in input strings
wantAnalysisLo => 1, ##-- include lower label paths in output
allowTextRegex => '(?:^[[:alpha:]\-]*[[:alpha:]]+$)|(?:^[[:alpha:]]+[[:alpha:]\-]+$)',
##-- analyze only "alphabetic" tokens
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.
Hey! The above document had some coding errors, which are explained below:
=cut found outside a pod block. Skipping to next block.