PetaMem > Lingua-IND-Words2Nums-0.0682 > Lingua::IND::Words2Nums

Download:
Lingua-IND-Words2Nums-0.0682.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0682   Source  

NAME ^

Lingua::IND::Words2Nums - convert Indonesian verbage to number.

VERSION ^

version 0.0682

SYNOPSIS ^

  use Lingua::IND::Words2Nums;

  print words2nums("seratus dua puluh tiga") ; # 123
  print words2nums_simple("satu dua tiga") ;   # 123

DESCRIPTION ^

Word 2 number conversion in IND.

Lingua::IND::Words2Nums currently can handle real numbers in normal and scientific form in the order of hundreds of trillions.

Lingua::IND::Words2Nums will return undef is its argument contains unknown verbage or "syntax error".

Lingua::IND::words2nums will produce unexpected result if you feed it stupid verbage.

FUNCTIONS ^

words2nums

Convert number in Indonesian verbage into number

words2nums_simple

Convert sequence of ciphers in Indonesian verbage into number

hmm___

private

split_it

private

w2n1

private

w2n2

private

w2n3

private

w2n4

private

w2n5

private

AUTHOR ^

Steven Haryanto <sh@hhh.indoglobal.com>

Maintenance PetaMem <info@petamem.com>

SEE ALSO ^

Lingua::IND::Nums2Words

syntax highlighting: