You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/04/27 02:38:55 UTC
[jira] Commented: (CODEC-57) Metaphone.metaphone(String) returns an
empty string when passed the word "why".
[ https://issues.apache.org/jira/browse/CODEC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592611#action_12592611 ]
Henri Yandell commented on CODEC-57:
------------------------------------
Note - the Perl variant can run in original-mode.
I've added a note to the javadoc about this issue.
> 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.