search - Implementing Soundex in Java -


please me implement string similarity comparison in java! using org.apache.commons.codec.language.soundex library

soundex soundex = new soundex(); string phoneticvalue = soundex.encode("yourstring"); string phoneticvalue2 = soundex.encode("yourstrink");  if(phoneticvalue.equals(phoneticvalue2)){  } 

doesn't seems work. encode function gives different results in case of similar strings. how compare both of similar strings library?

looking forward hear soon! ;)


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -