PetaMem > Lingua-ZHO-Word2Num-0.0682 > Lingua::ZHO::Word2Num

Download:
Lingua-ZHO-Word2Num-0.0682.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0682   Source  

NAME ^

Lingua::ZHO::Word2Num

VERSION ^

version 0.0682

text to positive number convertor for Chinese. Input text must be encoded in utf-8.

$Rev: 682 $

ISO 639-3 namespace.

SYNOPSIS ^

 use Lingua::ZHO::Word2Num;

 my $num = Lingua::ZHO::Word2Num::w2n( 'SiShi Er' );

 print defined($num) ? $num : "sorry, can't convert this text into number.";

DESCRIPTION ^

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.

Functions Reference

w2n (positional)

Convert text representation to number.

zho_numerals

Internal parser.

EXPORT_OK ^

w2n

KNOWN BUGS ^

None.

AUTHOR ^

Vitor Serra Mori <info@petamem.com>

COPYRIGHT ^

Copyright (C) PetaMem, s.r.o. 2003-present

LICENSE

Artistic license or BSD license.

syntax highlighting: