NAME

Lingua::PT::Words2Nums - Converts Portuguese words to numbers

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

http://natura.di.uminho.pt (Project for Portuguese Natural Language Processing)

AUTHOR

Jose Alves de Castro, <cog [at] cpan [dot] org<gt>

COPYRIGHT AND LICENSE

Copyright 2004 by Jose Alves de Castro

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 42:

Non-ASCII character seen before =encoding in '"bilião"'. Assuming CP1252