Lingua::JA::Name::SplitterSplit a Japanese name into given and family | |
Download |
Lingua::JA::Name::Splitter Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Ben Bullock
- Publisher web site:
- http://search.cpan.org/~bkb/
Lingua::JA::Name::Splitter Tags
Lingua::JA::Name::Splitter Description
Lingua::JA::Name::Splitter is a Perl module that splits a Japanese name into given and family.SYNOPSIS use Lingua::JA::Name::Splitter 'split_kanji_name'; my ($family, $given) = split_kanji_name ('風太郎'); # Now $family = 風 and $given = 太郎.FUNCTIONSsplit_kanji_name my ($family, $given) = split_kanji_name ('渡辺純子');This splits the name using some heuristics. At the time of writing, this module has not been tested extensively, so the heuristics will be subject to change as more data is received.split_romaji_name my ($first, $last) = split_japanese_name ('KATSU, Shintaro'); # $first = Shintaro, $last = KATSU my ($first, $last) = split_japanese_name ('Risa Yoshiki'); # $first = Risa, $last = YoshikiGiven a string containing a name of a Japanese person in romanized form, try to guess which part is the first and which part is the last name.Product's homepage
Lingua::JA::Name::Splitter Related Software