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

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

If there any consensus on which is "correct"? WH->W or WY->Y? Matching Python 
and Ruby is besides the point IMO. If WH->W is a bug then there is no sense 
replicating it ;)

> 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
>             Fix For: 1.4
>
>
> 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.

Reply via email to