Language::Guess
A statistical language guesser
use Langauge::Guess; my $guesser = Language::Guess->new( modeldir => '~/train' ); while (my $line = <> ) { my $lang = $guesser->simple_guess($line); print "Language was $lang\n\n"; }
(c) 2004 National Institute for Technology and Liberal Education
This software is released under version 2.0 of the GNU Public License
Maciej Ceglowski <maciej@ceglowski.com>
To install Language::Guess, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Guess
CPAN shell
perl -MCPAN -e shell install Language::Guess
For more information on module installation, please visit the detailed CPAN module installation guide.