version 0.1257
Word 2 number conversion in FRA.
Lingua::FRA::Word2Num is module for converting text containing number representation in French back into number. Converts whole numbers from 0 up to 999 999 999 999.
Input text must be encoded in UTF-8.
use Lingua::FRA::Word2Num; my $num = Lingua::FRA::Word2Num::w2n( 'cent vingt-trois' ); print defined($num) ? $num : "sorry, can't convert this text into number.";
1 str string to convert => num converted number => undef if input string is not known
Convert text representation to number.
=> obj new parser object
Internal parser.
coding, maintenance, refactoring, extensions, specifications: Vitor Serra Mori <info@petamem.com>
Copyright (C) PetaMem, s.r.o. 2004-present
To install Lingua::FRA::Word2Num, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::FRA::Word2Num
CPAN shell
perl -MCPAN -e shell install Lingua::FRA::Word2Num
For more information on module installation, please visit the detailed CPAN module installation guide.