Johan Vromans > Lingua-NL-Numbers-GroeneBoekje-0.10 > Lingua::NL::Numbers::GroeneBoekje

Download:
Lingua-NL-Numbers-GroeneBoekje-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.10   Source  

NAME ^

Lingua::NL::Numbers::GroeneBoekje - Convert numeric values into their Dutch equivalents

SYNOPSIS ^

    use Lingua::NL::Numbers::GroeneBoekje;

    my $converter = Lingua::NL::Numbers::GroeneBoekje->new;

    my $text = $converter->parse(124);

    # prints 'honderdvierentwintig'
    print $text;

DESCRIPTION ^

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

KNOWN BUGS ^

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.

AUTHOR ^

Johan Vromans <jvromans@squirrel.nl>.

SEE ALSO ^

Lingua::NL::Numbers

http://woordenlijst.org/leidraad/6/9/

syntax highlighting: