Lingua::XFST - Perl bindings for the Xerox FSM libraries
This document describes Lingua::XFST version 0.1
use Lingua::XFST; my $net = Lingua::XFST::Network->new(file => $filename); # Load network in file $filename my $strings = $net->apply_up($string); # Strings from applying up my $strings = $net->apply_down($string); # Strings from applying down
This module wraps the XFST C library and provides a Perl object interface to it. Currently only the bare minimum of functionality is provided, but more is coming. The only interface supported is the network class, which can be applied to strings in both directions.
For detailed documentation of the network class, see Lingua::XFST::Network. The brave (and/or desperate) seeking more functionality can access the SWIG-generated interface via Lingua::XFST::Privates; see that file for details.
No known bugs yet. The biggest limitation is the sheer lack of functionality.
Lingua::XFST::Network, Lingua::XFST::Privates
Arne Skjærholt <arnsholt@gmail.com>
<arnsholt@gmail.com>
Copyright (c) 2011, Arne Skjærholt <arnsholt@gmail.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Lingua::XFST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::XFST
CPAN shell
perl -MCPAN -e shell install Lingua::XFST
For more information on module installation, please visit the detailed CPAN module installation guide.