Dave Rolsky > Lingua-ZH-CCDICT-0.05 > Lingua::ZH::CCDICT::Romanization

Download:
Lingua-ZH-CCDICT-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Lingua::ZH::CCDICT::Romanization - A romanization of a Chinese character

SYNOPSIS ^

  print $romanization->syllable();

DESCRIPTION ^

This class represents a romanization of a Chinese character.

METHODS ^

This class provides two methods.

$romanization->syllable()

This is the romanized syllable, with the tone indicated via a number at the end of the syllable.

$romanization->is_obsolete()

This is a boolean indicating whether or not the romanizatio is considered obsolete.

OVERLOADING ^

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.

AUTHOR ^

David Rolsky <autarch@urth.org>

COPYRIGHT ^

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.

syntax highlighting: