Lingua::Han::CanonicalPinYin - Canonical PinYin of Hanzi
use Lingua::Han::CanonicalPinYin 'canonicalize_pinyin'; # $hao is "ha\x{30c}o" my $hao = canonicalize_pinyin( 'hao3' );
This module helps you convert hanzi's pinyin like "hao3" to "ha\x{30c}o".
NOTE: converted value is a utf8 string; 'v' will be replaced by "u\x{308}".
No bugs have been reported.
sunnavy sunnavy@bestpractical.com
sunnavy@bestpractical.com
Copyright 2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lingua::Han::CanonicalPinYin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Han::CanonicalPinYin
CPAN shell
perl -MCPAN -e shell install Lingua::Han::CanonicalPinYin
For more information on module installation, please visit the detailed CPAN module installation guide.