public void addTerms(String queryString,String fieldName,float minSimilarity,int prefixLength){
  int maxEdits=(int)minSimilarity;
  if (maxEdits != minSimilarity || maxEdits < 0 || maxEdits > LevenshteinAutomata.MAXIMUM_SUPPORTED_DISTANCE) {
    throw new IllegalArgumentException("minSimilarity must integer value between 0 and " + LevenshteinAutomata.MAXIMUM_SUPPORTED_DISTANCE + ", inclusive; got "+ minSimilarity);
  }
  fieldVals.add(new FieldVals(fieldName,maxEdits,prefixLength,queryString));
}

public void addTerms ( String queryString , String fieldName , float minSimilarity , int prefixLength ) { int maxEdits = ( int ) minSimilarity ; if ( maxEdits != minSimilarity || maxEdits < 0 || maxEdits > LevenshteinAutomata . MAXIMUM_SUPPORTED_DISTANCE ) { throw new IllegalArgumentException ( "minSimilarity must integer value between 0 and " + LevenshteinAutomata . MAXIMUM_SUPPORTED_DISTANCE + ", inclusive; got " + minSimilarity ) ; } fieldVals . add ( new FieldVals ( fieldName , maxEdits , prefixLength , queryString ) ) ; }
adds user input for " fuzzification "
