NAME
Lingua::XFST::Network - Perl interface to XFST networks
VERSION
This document describes Lingua::XFST version 0.1
SYNOPSIS
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
DESCRIPTION
- new
-
my $net = Lingua::XFST::Network->new(file => $filename);
Loads a network from the file specified in $filename and creates an applyer instance bound to that network.
- apply_up
-
$net->apply_up($string);
Takes $string and applies the network to it in the upward direction. Returns a reference to an array containing the resulting strings.
- apply_down
-
$net->apply_down($string);
Takes $string and applies the network to it in the downward direction. Returns a reference to an array containing the resulting strings.
BUGS & LIMITATIONS
No known bugs yet. The biggest limitation is the sheer lack of functionality.
AUTHOR
Arne Skjærholt <arnsholt@gmail.com>
LICENSE & COPYRIGHT
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.