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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -