Lingua::ZH::CCDICT::Romanization - A romanization of a Chinese character
print $romanization->syllable();
This class represents a romanization of a Chinese character.
This class provides two methods.
syllable()This is the romanized syllable, with the tone indicated via a number at the end of the syllable.
is_obsolete()This is a boolean indicating whether or not the romanizatio is considered obsolete.
All objects of this class are overloaded so that they stringify to the
value of the syllable() method. This overloading is also done for
string comparisons. In addition, they are overloaded in a boolean
context to return true.
David Rolsky <autarch@urth.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.