Commons Codec
  1. Commons Codec
  2. CODEC-57

Metaphone.metaphone(String) returns an empty string when passed the word "why".

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None
    • Environment:

      Commons-codec built from source using jdk 1.4.2.
      OS: Windows XP
      Java Build: 1.4.2

      Description

      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".

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12415742 ] Default workflow, editable Closed status [ 12601670 ]
        Henri Yandell made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Henri Yandell made changes -
        Field Original Value New Value
        Fix Version/s 1.4 [ 12311779 ]
        Adam Wilmore created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Wilmore
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development