Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-57

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: