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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3
    • 1.4
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: