NAME

eGuideDog::Dict::Cantonese - an informal Jyutping dictionary.

SYNOPSIS

use utf8;
use eGuideDog::Dict::Cantonese;

binmode(stdout, 'utf8');
my $dict = eGuideDog::Dict::Cantonese::new();
my $symbol = $dict->get_jyutping("广");
print "广: $symbol\n"; # 广: gwong2
my @symbols = $dict->get_jyutping("粤拼");
print "粤拼: ", join(' ', @symbols), "\n"; # 粤拼: jyut6 ping3

DESCRIPTION

This module is for looking up Jyutping of Cantonese characters or words. It's edited by a programmer not a linguistician. There will be many errors. So don't take it serious. It's a part of the eGuideDog project (http://e-guidedog.sf.net).

EXPORT

None by default.

METHODS

new()

Initialize dictionary.

get_jyutping($chars)

Return a scalar of jyutping symbols if only one character is requested.

Return an array of jyutping symbols if multi-character is requested.

SEE ALSO

http://e-guidedog.sf.net

AUTHOR

Cameron Wong, <hgn823-perl at yahoo.com.cn>

COPYRIGHT AND LICENSE

Copyright 2008 by Cameron Wong

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 110:

Non-ASCII character seen before =encoding in '$dict->get_jyutping("广");'. Assuming CP1252