Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

API for fuzzy string comparison, soundex

 
Data Virtue
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
I need a class that will build soundex codes from whatever strings I ask of it.

I also need some more information on how to compare the various codes to determin if I had a good search result.

I have searched around a bit and have found nothing straight-forward.

Thanks in advance.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Report post to moderator
punching 'java soundex' into google returns http://commons.apache.org/codec/apidocs/org/apache/commons/codec/language/Soundex.html as the very first result!
 
Data Virtue
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sebastian Janisch wrote:punching 'java soundex' into google returns http://commons.apache.org/codec/apidocs/org/apache/commons/codec/language/Soundex.html as the very first result!


Yeah, DoubleMetaphone seems a better choice though. We'll see how it goes.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Having ignored 3 warnings to change display name, the "data virtue" account has been closed.
 
    Bookmark Topic Watch Topic
  • New Topic