Text::Kakasi 2.04 review

Download
by rbytes.net on

Text::Kakasi is a perl frontend to kakasi. SYNOPSIS use Text::Kakasi; # functional $res = Text::Kakasi::getopt_argv('-J

License: Perl Artistic License
File size: 22K
Developer: NOKUBI Takatsugu
0 stars award from rbytes.net

Text::Kakasi is a perl frontend to kakasi.

SYNOPSIS

use Text::Kakasi;
# functional
$res = Text::Kakasi::getopt_argv('-JJ', '-c', '-w');
$str = Text::Kakasi::do_kakasi($japanese_text);
# object-oriented
$obj = Text::Kakasi->new('-JJ', '-c', '-w');
$str = $obj->get($japanese_text);

This module provides interface to kakasi (kanji kana simple inverter). kakasi is a set of programs and libraries which does what Japanese input methods do in reverse order. You feed Japanese and kakasi converts it to phonetic representation thereof. kakasi can also be used to tokenizing Japanese text. To find more about kakasi, see http://kakasi.namazu.org/ .

Text::Kakasi now features both functional and object-oriented APIs. functional APIs are 100% compatible with ver. 1.05. But to take advantage of "Perl 5.8 Features", you should use OOP APIs instead.

See Text::Kakasi::JP for the Japanese version of this document.

Requirements:
Perl

Text::Kakasi 2.04 search tags