Lingua::JA::Alphabet::Yomi - Alphabet Katakana pronunciations
use Lingua::JA::Alphabet::Yomi qw(alphabet2yomi); use utf8; print alphabet2yomi("ABc"); # エービーシー print alphabet2yomi("ABc", 'fr'); # アーペーセー print alphabet2yomi("ABc", 'it'); # アービーチー print alphabet2yomi("ABc", 'de'); # アーベーツェー
Lingua::JA::Alphabet::Yomi tells the pronunciation of the alphabet by the Japanese katakana.
exportable.
$lang can take 'en'(英語), 'fr'(フランス語), 'it'(イタリア語) and 'de'(ドイツ語) currently. 'en' is default.
$lang
I chose the pronunciation that seemed a de facto standard it. but you can adjust $Lingua::JA::Alphabet::Yomi::alphabet2yomi hashref like below.
$Lingua::JA::Alphabet::Yomi::alphabet2yomi
local $Lingua::JA::Alphabet::Yomi::alphabet2yomi->{it}{J} = 'ヨータ';
http://coderepos.org/share/browser/lang/perl/Lingua-JA-Alphabet-Yomi (repository)
Naoki Tomita <tomita@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lingua::JA::Alphabet::Yomi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::JA::Alphabet::Yomi
CPAN shell
perl -MCPAN -e shell install Lingua::JA::Alphabet::Yomi
For more information on module installation, please visit the detailed CPAN module installation guide.