commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CODEC-57) Metaphone.metaphone(String) returns an empty string when passed the word "why".
Date Wed, 24 Oct 2007 23:05:50 GMT

    [ https://issues.apache.org/jira/browse/CODEC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537448
] 

Gary Gregory commented on CODEC-57:
-----------------------------------

I have a unit test that confirms this (committed). I can see the "H" in "WHY" also here: http://www.searchforancestors.com/utility/metaphone.php
(picked from Google search results)

> Metaphone.metaphone(String) returns an empty string when passed the word "why".
> -------------------------------------------------------------------------------
>
>                 Key: CODEC-57
>                 URL: https://issues.apache.org/jira/browse/CODEC-57
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Commons-codec built from source using jdk 1.4.2.
> OS: Windows XP
> Java Build: 1.4.2
>            Reporter: Adam Wilmore
>
> An empty string is returned from the Metaphone.metaphone(String) method when passed the
value "why". Variations on the value, such as "wwwhy" and "wwhhhy" also return empty strings.
> This appears to be an issue since other implementations of the metaphone algorithm, namely
the PHP version, returns "H" when passed the value "why".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message