Skip Menu |

This queue is for tickets about the Lingua-JA-Kana CPAN distribution.

Report information
The Basics
Id: 35763
Status: resolved
Priority: 0/
Queue: Lingua-JA-Kana

People
Owner: Nobody in particular
Requestors: masaaki [...] tsuyuguchi.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: "sakiika" is not converted into kana correctly.
Using Lingua-JA-Kana-0.02, I found that a bug. The symptom: "sakiika" is converted to "さkっいか". I think that "さきいか" is correct. It seems that $Re_Consonants doesn't have to include 'i'. Could you try the attached patch? Thank you.
Subject: Kana.pm.patch
*** Kana.pm.org Sat Dec 8 20:18:55 2007 --- Kana.pm Sat May 10 22:34:36 2008 *************** *** 21,27 **** our $Re_Vowels = qr/[aeiou]/i; ! our $Re_Consonants = qr/[bcdfghijklpqrstvwxyz]/i; # note the absense of n and m our %Kata2Hepburn = qw( ア a イ i ウ u エ e オ o --- 21,27 ---- our $Re_Vowels = qr/[aeiou]/i; ! our $Re_Consonants = qr/[bcdfghjklpqrstvwxyz]/i; # note the absense of n and m our %Kata2Hepburn = qw( ア a イ i ウ u エ e オ o
Thank you. Patch applied and version 0.03 released. If you can't wait for CPAN, check http://coderepos.org/share/browser/lang/perl/Lingua-JA-Kana/trunk Dan the Maintainer Thereof On Sat May 10 10:29:54 2008, mtsuyugu wrote: Show quoted text
> Using Lingua-JA-Kana-0.02, I found that a bug. > > The symptom: > "sakiika" is converted to "さkっいか". > I think that "さきいか" is correct. > > It seems that $Re_Consonants doesn't have to include 'i'. > > Could you try the attached patch? > > Thank you.