NAME
Lingua::ITA::Word2Num
VERSION
version 0.0682
text to positive number convertor for Italian. Input text must be encoded in utf-8.
$Rev: 682 $
ISO 639-3 namespace.
SYNOPSIS
my
$num
= Lingua::ITA::Word2Num::w2n(
'trecentoquindici'
);
defined
(
$num
) ?
$num
:
"sorry, can't convert this text into number."
;
DESCRIPTION
Word 2 number conversion in ITA.
Lingua::ITA::Word2Num is module for converting text containing number representation in italian back into number. Converts whole numbers from 0 up to 999 999 999 999.
Functions Reference
- w2n (positional)
-
1 string string to
convert
=> number converted number
undef
if
input string is not known
Convert text representation to number.
- it_numerals
-
Internal parser.
EXPORT_OK
w2n
KNOWN BUGS
None.
AUTHOR
coding, maintenance, refactoring, extensions, specifications:
Richard C. Jelinek <info
@petamem
.com>
initial coding
after
specification by R. Jelinek:
Vitor Serra Mori <info
@petamem
.com>
COPYRIGHT
Copyright (C) PetaMem, s.r.o. 2003-present
LICENSE
Artistic license or BSD license.