benkasminbullock / Lingua-JA-Moji

Handle many kinds of Japanese characters
https://metacpan.org/release/Lingua-JA-Moji
2 stars 4 forks source link

Something happening when parsing edict #16

Closed benkasminbullock closed 10 years ago

benkasminbullock commented 11 years ago

Something is up with Edict parsing:

Use of uninitialized value $_ in transliteration (tr///) at /home/ben/software/install/lib/perl5/site_perl/5.14.1/Lingua/JA/Moji.pm line 636, <$in> line 157308. Use of uninitialized value $input[0] in join or string at /home/ben/software/install/lib/perl5/siteperl/5.14.1/Lingua/JA/Moji.pm line 637, <$in> line 157308. Use of uninitialized value $text in string eq at similar-kana.pl line 40, <$in> line 157308. Use of uninitialized value $ in transliteration (tr///) at /home/ben/software/install/lib/perl5/site_perl/5.14.1/Lingua/JA/Moji.pm line 636, <$in> line 196169. Use of uninitialized value $input[0] in join or string at /home/ben/software/install/lib/perl5/site_perl/5.14.1/Lingua/JA/Moji.pm line 637, <$in> line 196169. Use of uninitialized value $text in string eq at similar-kana.pl line 40, <$in> line 196169.

benkasminbullock commented 11 years ago

This is an empty string going in, due to the line containing "、".

benkasminbullock commented 10 years ago

What a stupid bug report, how did the errors get produced?