Lingua::ZHO::Word2Num
version 0.0682
text to positive number convertor for Chinese. Input text must be encoded in utf-8.
ISO 639-3 namespace.
use Lingua::ZHO::Word2Num; my $num = Lingua::ZHO::Word2Num::w2n( 'SiShi Er' ); print defined($num) ? $num : "sorry, can't convert this text into number.";
Word 2 number conversion in ZHO.
Lingua::ZHO::Word2Num is module for converting text containing number representation in Chinese back into number. Converts whole numbers from 0 up to 999 999 999 999.
Convert text representation to number.
Internal parser.
w2n
None.
Vitor Serra Mori <info@petamem.com>
Copyright (C) PetaMem, s.r.o. 2003-present
Artistic license or BSD license.
To install Lingua::ZHO::Word2Num, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ZHO::Word2Num
CPAN shell
perl -MCPAN -e shell install Lingua::ZHO::Word2Num
For more information on module installation, please visit the detailed CPAN module installation guide.