Subject: | Initial 'GH' incorrectly mapped to J |
Date: | Wed, 13 Jan 2010 10:50:57 -0800 |
To: | bug-Text-DoubleMetaphone [...] rt.cpan.org |
From: | Joe Petolino <petolino [...] alum.mit.edu> |
In Text-Doublemetaphone-0.07, it seems that initial GHI is always
mapped to J. E.g.
DB<2> use Text::DoubleMetaphone qw( double_metaphone );
DB<3> x double_metaphone('ghirardelli')
0 'JRRT'
This is not correct for names of Italian origin, including the
example (ghiradelli) given in the comment on double_metaphone.c
line 531.
Please see http://www.ghirardelli.com/about/faq_company.aspx .
-Joe
--
Joe Petolino http://www.pbase.com/petolino petolino@alum.mit.edu