Lingua::ZH::PinyinConvert - Translation among various Chinese Pinyin Systems
use Lingua::ZH::PinyinConvert qw/convert/; print convert('tongyong', 'hanyu', 'ni hao ma?'); print convert('hanyu', 'tongyong', 'wo hen hao'); # dull example
Lingua::ZH::PinyinConvert translates Chinese Pinyin texts written in various Pinyin systems. Supported Pinyin systems are Wade-Giles, MPS-2, Hanyu, Yale, and Tongyong.
See http://www.romanization.com/ for more information of these systems.
convert($SOURCE_SYSTEM, $TARGET_SYSTEM, $TEXT);
# converts text from Hanyu to Tongyong convert('hanyu', 'tongyong', 'wo hao ben');
http://www.romanization.com/
PerlIO::via::PinyinConvert
Lingua::ZH::CCDICT
Lingua::ZH::CEDICT
xern <xern@cpan.org>
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
To install Lingua::ZH::PinyinConvert, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ZH::PinyinConvert
CPAN shell
perl -MCPAN -e shell install Lingua::ZH::PinyinConvert
For more information on module installation, please visit the detailed CPAN module installation guide.