Lingua::NL::Numbers::GroeneBoekje - Convert numeric values into their Dutch equivalents
use Lingua::NL::Numbers::GroeneBoekje; my $converter = Lingua::NL::Numbers::GroeneBoekje->new; my $text = $converter->parse(124); # prints 'honderdvierentwintig' print $text;
Lingua::NL::Numbers::GroeneBoekje converts numeric values to their Dutch written equivalent, according to the guidelines as defined in the "Groene Boekje". For example:
twee twintig tweeëntwintig tweehonderd tweehonderdtweeëntwintig tweeëntwintighonderd tweeduizend tweehonderdtwintig twee miljoen tweehonderdtwintigduizend tweehonderdtweeëntwintig
Estimated upper bound is 10**18 - 1, but this is not checked.
When "twee" is glued to "en" it will get a dieraesis on the "e" of "en". The result will be a Perl Unicode string.
When "drie" is glued to "en" it will get a dieraesis on the "e" of "en". The result will be a Perl Unicode string.
Johan Vromans <jvromans@squirrel.nl>.
Lingua::NL::Numbers
http://woordenlijst.org/leidraad/6/9/
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'tweeëntwintig'. Assuming CP1252
To install Lingua::NL::Numbers::GroeneBoekje, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::NL::Numbers::GroeneBoekje
CPAN shell
perl -MCPAN -e shell install Lingua::NL::Numbers::GroeneBoekje
For more information on module installation, please visit the detailed CPAN module installation guide.