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

  • convert($SOURCE_SYSTEM, $TARGET_SYSTEM, $TEXT);

    # converts text from Hanyu to Tongyong
    convert('hanyu', 'tongyong', 'wo hao ben');

SEE ALSO

http://www.romanization.com/

PerlIO::via::PinyinConvert

Lingua::ZH::CCDICT

Lingua::ZH::CEDICT

COPYRIGHT

xern <xern@cpan.org>

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