NAME
Lingua::NOR::Word2Num
VERSION
version 0.044
text to positive number convertor for Norwegian. Input text must be encoded in utf-8.
$Rev: 440 $
ISO 639-3 namespace.
SYNOPSIS
use Lingua::NOR::Word2Num;
my $num = Lingua::NOR::Word2Num::w2n( 'fire hundre' );
print defined($num) ? $num : "sorry, can't convert this text into number.";
DESCRIPTION
Lingua::NOR::Word2Num is module for converting text containing number representation in Norwegian back into number. Converts whole numbers from 0 up to 999 999 999.
Functions Reference
- w2n (positional)
-
1 string string to convert => number covnerted number undef if input string is not known
Convert text representation to number.
- no_numerals
-
Internal parser.
AUTHOR
coding, maintenance, refactoring, extensions, specifications:
Richard C. Jelinek <info@petamem.com>
initial coding after specifications by R. Jelinek:
Vitor Serra Mori <info@petamem.com>
COPYRIGHT
Copyright (C) PetaMem, s.r.o. 2004-present
LICENSE
Artistic license or BSD license.