Package de.hsh.graja.regression.internal
Class LevenshteinDistance
java.lang.Object
de.hsh.graja.regression.internal.LevenshteinDistance
Wrapper arround the Apache Levenshtein Distance
-
Method Summary
-
Method Details
-
isEqual
Apply levenshtein distance on two strings- Parameters:
max
- max thresholds1
- string 1s2
- string 2- Returns:
- true if the levenshtein distance is <= the threshold
-