NAME

Lingua::KIR::Num2Word - Number to word conversion in Kyrgyz

VERSION

version 0.2603300

Lingua::KIR::Num2Word is module for converting numbers into their written representation in Kyrgyz. Converts whole numbers from 0 up to 999 999 999.

Text is encoded in UTF-8 (Cyrillic script).

SYNOPSIS

use Lingua::KIR::Num2Word;

my $text = Lingua::KIR::Num2Word::num2kir_cardinal( 123 );

print $text || "sorry, can't convert this number into kyrgyz language.";

my $ord = Lingua::KIR::Num2Word::num2kir_ordinal( 3 );
print $ord;    # "үчүнчү"

Functions Reference

num2kir_cardinal (positional)
1   num    number to convert
=>  str    converted string
    undef  if input number is not known

Convert number to text representation. Only numbers from interval [0, 999_999_999] will be converted.

num2kir_ordinal (positional)
1   num    number to convert
=>  str    converted ordinal string

Convert number to ordinal text representation using Kyrgyz vowel harmony. Only numbers from interval [1, 999_999_999] will be converted.

capabilities (void)
=>  hashref    hash of supported features

Returns a hash reference indicating which conversion features are supported.

EXPORT_OK

num2kir_cardinal
num2kir_ordinal

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. 2002-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.