PerlIO::via::PinyinConvert - PerlIO layer for Lingua::ZH::PinyinConvert
use PerlIO::via::PinyinConvert from => "tongyong", to => "hanyu"; binmode(STDOUT, ":via(PinyinConvert)"); print 'ni hao ma?';
PerlIO::via::PinyinConvert is a layer for Lingua::ZH::PinyinConvert. Users can combine this with Text::Unidecode.
use utf8; use Text::Unidecode; use PerlIO::via::PinyinConvert from => "hanyu", to => "tongyong"; print unidecode( "\x{5317}\x{4EB0}\n" );
Lingua::ZH::PinyinConvert
Text::Unidecode
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.