Lingua-PT-Words2Nums README


Lingua-PT-Words2Nums documentation  | view source Contained in the Lingua-PT-Words2Nums distribution.

Index


SYNOPSIS

Top

  use Lingua::PT::Words2Nums;

  $result = num2word("cinco");
  # $result now holds 5

DESCRIPTION

Top

Words2Nums converts Portuguese words to numbers (works with numbers ranging from 0 to 999.999.999.999.999.999).

Not all possible ways to write a number have been implemented (some people write "nove mil novecentos e um", some people write "nove mil, novecentos e um"; Words2Nums currently supports only the first way, without commas; also, the word "bilião" is supported, but not "bilhão").

SEE ALSO

Top

More tools for the Portuguese language processing can be found at the Natura project: http://natura.di.uminho.pt

AUTHOR

Top

Jose Castro, <cog@cpan.org>

COPYRIGHT & LICENSE

Top


Lingua-PT-Words2Nums documentation  | view source Contained in the Lingua-PT-Words2Nums distribution.