NAME
Lingua::AFR::Word2Num
VERSION
version 0.1106
Word 2 number conversion in AFR.
Lingua::AFR::Word2Num is module for converting text containing number representation in afrikaans back into number. Converts whole numbers from 0 up to 999 999 999 999.
SYNOPSIS
use Lingua::AFR::Word2Num;
my $num = Lingua::AFR::Word2Num::w2n( 'een honderd, drie en twintig' );
print defined($num) ? $num : "sorry, can't convert this text into number.";
Functions Reference
- w2n (positional)
-
1 str string to convert => num converted number => undef if input string not known
Convert text representation to number. If the input string is not known, or out of the interval, undef is returned.
- af_numerals (void)
-
=> obj new parser object
Internal parser.
EXPORT_OK
- w2n
AUTHOR
coding, maintenance, refactoring, extensions, specifications:
Vitor Serra Mori <info@petamem.com>
COPYRIGHT
Copyright (C) PetaMem, s.r.o. 2004-present