Lingua::ZH::CCDICT::ResultItem - A single result from a dictionary search
print $item->unicode(); print $_->syllable(), "\n" for $item->pinyin();
Each individual result returned by a Lingua::ZH::CCDICT::ResultSet returns an object of this class.
Lingua::ZH::CCDICT::ResultSet
This class provides the following methods:
These methods always return a single item when the requested data is available or a false value if this item is not available.
These methods represent data for which there may be multiple values. In a list context, all values are returned. In a scalar context, only the first value is returned. When the requested data is not available, a false value is returned.
Romanizations are returned as Lingua::ZH::CCDICT::Romanization objects.
Lingua::ZH::CCDICT::Romanization
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.