public static int fuzzyScore(CharSequence term,CharSequence query){
  return fuzzyScore(term,query,Locale.getDefault());
}

public static int fuzzyScore ( CharSequence term , CharSequence query ) { return fuzzyScore ( term , query , Locale . getDefault ( ) ) ; }
copied from apache fuzzyscore implementation . one point is given for every matched character . subsequent matches yield two bonus points . a higher score indicates a higher similarity .
