José Alves de Castro > Lingua-PT-Words2Nums-1.04 > README

Download:
Lingua-PT-Words2Nums-1.04.tar.gz

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

SYNOPSIS ^

  use Lingua::PT::Words2Nums;

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

DESCRIPTION ^

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 ^

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

AUTHOR ^

Jose Castro, <cog@cpan.org>

COPYRIGHT & LICENSE ^

Copyright 2004 Jose Castro, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: