NAME
Lingua::JA::Alphabet::Yomi - Alphabet Katakana pronunciations
SYNOPSIS
use
utf8;
alphabet2yomi(
"ABc"
);
# エービーシー
alphabet2yomi(
"ABc"
,
'fr'
);
# アーペーセー
alphabet2yomi(
"ABc"
,
'it'
);
# アービーチー
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.