@Test public void testNormalize(){ float score = this.levenshteinDistanceMatcher.normalize(5, 20); assertEquals(0.75f,score, 0f); }
protected float normalize(float score, int longestString){ return 1f - (score / longestString); }
LevenshteinDistanceMatcher extends AbstractMatcher { protected float normalize(float score, int longestString){ return 1f - (score / longestString); } }
LevenshteinDistanceMatcher extends AbstractMatcher { protected float normalize(float score, int longestString){ return 1f - (score / longestString); }  }
LevenshteinDistanceMatcher extends AbstractMatcher { protected float normalize(float score, int longestString){ return 1f - (score / longestString); }   }
LevenshteinDistanceMatcher extends AbstractMatcher { protected float normalize(float score, int longestString){ return 1f - (score / longestString); }    }