Lingua::ZH::CCDICT::Romanization::Pinyin - A pinyin romanization of a Chinese character
print $pinyin->syllable(); print $pinyin->as_ascii(); print $pinyin->as_unicode();
Lingua::ZH::CCDICT::Romanization::Pinyin class is used for the return values of the
tongyong method, and provides the following additional methods:
This returns the syllable with the tone markings appended as a number at the end, but it may contain a u with an umlaut.
Returns the syllable as ascii. The tone is appended as a number, and a u with an umlaut is represented as two u's in row.
The syllable with the tone marking represented as diacritics using Unicode characters.
David Rolsky <firstname.lastname@example.org>
Copyright (c) 2002-2007 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.