Unicode::Unihan

Unicode::Unihan is the Unihan Data Base 5.0.0.
Download

Unicode::Unihan Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dan Kogai
  • Publisher web site:
  • http://search.cpan.org/~oyama/Crypt-Camellia-2.01/lib/Crypt/Camellia.pm

Unicode::Unihan Tags


Unicode::Unihan Description

Unicode::Unihan is the Unihan Data Base 5.0.0. Unicode::Unihan is the Unihan Data Base 5.0.0.SYNOPSIS use Unicode::Unihan; my $db = new Unicode::Unihan; print join("," => $db->Mandarin("x{5c0f}x{98fc}x{5f3e}"), "n";ABSTRACTThis module provides a user-friendly interface to the Unicode Unihan Database 3.2. With this module, the Unihan database is as easy as shown in the SYNOPSIS above.The first thing you do is make the database available. Just say use Unicode::Unihan; my $db = new Unicode::Unihan;That's all you have to say. After that, you can access the database via $db->tag($string) where tag is the tag in the Unihan Database, without 'k' prefix.$data = $db->tag($string) =item @data = $db->tag($string)The first form (scalar context) returns the Unihan Database entry of the first character in $string. The second form (array context) checks the entry for each character in $string. @data = $db->Mandarin("x{5c0f}x{98fc}x{5f3e}"); # @data is now ('SHAO4 XIAO3','SI4','DAN4') @data = $db->JapaneseKun("x{5c0f}x{98fc}x{5f3e}"); # @data is now ('CHIISAI KO O','KAU YASHINAU','TAMA HAZUMU HIKU') Requirements: · Perl


Unicode::Unihan Related Software