Lingua::RUS::Word2Num
version 0.0682
Text to positive number convertor for Russian.
Input text must be encoded in utf-8.
ISO 639-3 namespace.
use Lingua::RUS::Word2Num; my $num = Lingua::RUS::Word2Num::w2n( 'пять' ); print defined($num) ? $num : "sorry, can't convert this text into number.";
Word 2 number conversion in RUS.
Lingua::RUS::Word2Num is module for converting text containing number representation in Russian 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.
Internal parser.
coding, maintenance, refactoring, extensions, specifications: Richard C. Jelinek <info@petamem.com> initial coding after specifications by R. Jelinek: Vitor Serra Mori <info@petamem.com>
Copyright (C) PetaMem, s.r.o. 2004-present
Artistic license or BSD license.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in ''пять''. Assuming UTF-8
To install Lingua::RUS::Word2Num, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::RUS::Word2Num
CPAN shell
perl -MCPAN -e shell install Lingua::RUS::Word2Num
For more information on module installation, please visit the detailed CPAN module installation guide.