NAME

Lingua::JA::Alphabet::Yomi - Alphabet Katakana pronunciations

SYNOPSIS

use Lingua::JA::Alphabet::Yomi qw(alphabet2yomi);
use utf8;

print alphabet2yomi("ABc");       # エービーシー
print alphabet2yomi("ABc", 'fr'); # アーペーセー
print alphabet2yomi("ABc", 'it'); # アービーチー
print alphabet2yomi("ABc", 'de'); # アーベーツェー

DESCRIPTION

Lingua::JA::Alphabet::Yomi tells the pronunciation of the alphabet by the Japanese katakana.

METHODS

alphabet2yomi( $text, [ $lang ] )

exportable.

$lang can take 'en'(英語), 'fr'(フランス語), 'it'(イタリア語) and 'de'(ドイツ語) currently. 'en' is default.

I chose the pronunciation that seemed a de facto standard it. but you can adjust $Lingua::JA::Alphabet::Yomi::alphabet2yomi hashref like below.

local $Lingua::JA::Alphabet::Yomi::alphabet2yomi->{it}{J} = 'ヨータ';

SEE ALSO

http://coderepos.org/share/browser/lang/perl/Lingua-JA-Alphabet-Yomi (repository)

AUTHOR

Naoki Tomita <tomita@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.