Search code examples
scalatext-comparison

Metaphone or Soundex for Scala


I have found Apache's impelementation of Soundex and Metaphone in Java but I would prefer to keep the text comparison libraries I am using in Scala only if possible. Google searches have yielded me nothing useful in finding either of these algorithms in Scala.

Worst case scenario I can translate these algorithms into Scala but that is less than ideal.

http://commons.apache.org/codec/


Solution

  • You are looking for Stringmetric from https://stackoverflow.com/users/554647/rocky-madden :

    https://github.com/rockymadden/stringmetric