version 0.0682
text to positive number convertor for english. Input text must be in utf-8 encoding.
We use ISO 639-3 namespace.
use Lingua::ENG::Word2Num; my $num = Lingua::ENG::Word2Num::w2n( 'nineteen' ); print defined($num) ? $num : "sorry, can't convert this text into number.";
Word 2 number conversion in ENG.
Lingua::ENG::Word2Num is module for converting text containing number representation in czech back into number. Converts whole numbers from 0 up to 999 999 999.
1 string string to convert => number converted number undef if input string is not known
Convert text representation to number.
w2n
None.
coding, maintenance, refactoring, extensions, specifications: Richard C. Jelinek <info@petamem.com> initial coding after specifications by R. Jelinek: Roman Vasicek <info@petamem.com>
Copyright (C) PetaMem, s.r.o. 2004-present
Artistic license or BSD license.
To install Lingua::ENG::Word2Num, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ENG::Word2Num
CPAN shell
perl -MCPAN -e shell install Lingua::ENG::Word2Num
For more information on module installation, please visit the detailed CPAN module installation guide.