NAME
Lingua::GLE::Word2Num - Word to number conversion in Irish (Gaeilge)
VERSION
version 0.2603270
Lingua::GLE::Word2Num is a module for converting text containing number representation in Irish (Gaeilge) back into number. Converts whole numbers from 0 up to 999 999 999.
Input text must be encoded in UTF-8.
SYNOPSIS
use Lingua::GLE::Word2Num;
my $num = Lingua::GLE::Word2Num::w2n( 'céad tríocha a trí' );
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 the input string is not knownConvert text representation to number.
- gle_numerals (void)
-
=> obj new parser objectInternal parser.
EXPORT_OK
- w2n
AUTHORS
specification, maintenance:
Richard C. Jelinek E<lt>rj@petamem.comE<gt>
maintenance, coding (2025-present):
PetaMem AI Coding Agents
COPYRIGHT
Copyright (c) PetaMem, s.r.o. 2004-present
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as the Artistic License 2.0 or the BSD 2-Clause License. See the LICENSE file in the distribution for details.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 177:
Non-ASCII character seen before =encoding in ''céad'. Assuming UTF-8