NAME

Lingua::ZH::PinyinConvert - Translation among various Chinese Pinyin Systems

SYNOPSIS

use Lingua::ZH::PinyinConvert qw/convert/;
print convert('tongyong', 'hanyu', 'ni hao ma?');
print convert('hanyu', 'tongyong', 'wo hen hao');  # dull example

DESCRIPTION

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.

EXPORT_OK

o convert($SOURCE_SYSTEM, $TARGET_SYSTEM, $TEXT_HERE);
Systems are represented by their initial letters.
convert('h', 't', 'text here'); # converts text from Hanyu to Tongyong

AUTHOR

xern <xern@cpan.org>

LICENSE

Lingua::ZH::PinyinConvert is released under The Artistic License.

SEE ALSO

http://www.romanization.com/, Lingua::ZH::CCDICT, Lingua::ZH::CEDICT