WWW::Dict::ZdicWWW::Dict::Zdic is a Zdic Chinese Dictionary interface. | |
Download |
WWW::Dict::Zdic Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kang-min Liu
- Publisher web site:
- http://search.cpan.org/~gugod/
WWW::Dict::Zdic Tags
WWW::Dict::Zdic Description
WWW::Dict::Zdic is a Zdic Chinese Dictionary interface. WWW::Dict::Zdic is a Zdic Chinese Dictionary interface.SYNOPSIS use WWW::Dict::Zdic; my $dic = WWW::Dict::Zdic->new(); my $def = $dic->define("Š‰"); print YAML::Dump($def);This module provides simple interface to zdic.net Chinese character dictionary website.INTERFACEnew()Object contrsuctor. Nothing special, no argument is needed here.define( $character )Return an arrayref of hashref. Each hashref presents a definition of the given Chinese $character. Currently valid keys for that hashref are 'category' and 'definition'. 'category' refers to different sources of defintions on zdic.net web-site. Usually there are more then two of them.parse_content( $string )Internally used function, to parse HTML from word definition page. Requirements: · Perl
WWW::Dict::Zdic Related Software