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.
This is the romanized syllable, with the tone indicated via a number at the end of the syllable.
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.
syllable()
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.
To install Lingua::ZH::CCDICT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ZH::CCDICT
CPAN shell
perl -MCPAN -e shell install Lingua::ZH::CCDICT
For more information on module installation, please visit the detailed CPAN module installation guide.