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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -