version 0.1106
Word 2 Number conversion in DEU.
Lingua::DEU::Word2Num is module for converting text containing number representation in German back into number. Converts whole numbers from 0 up to 999 999 999.
Text must be encoded in UTF-8.
use Lingua::DEU::Word2Num; my $num = Lingua::DEU::Word2Num::w2n( 'siebzehn' ); print defined($num) ? $num : "sorry, can't convert this text into number.";
1 str string to convert => num converted number undef if input string is not known
Convert text representation to number. You can specify a numeral from interval [0,999_999].
=> obj new parser object
Internal parser.
coding, maintenance, refactoring, extensions, specifications: Roman Vasicek <info@petamem.com>
Copyright (C) PetaMem, s.r.o. 2004-present
To install Lingua::DEU::Word2Num, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::DEU::Word2Num
CPAN shell
perl -MCPAN -e shell install Lingua::DEU::Word2Num
For more information on module installation, please visit the detailed CPAN module installation guide.