public class LevenshteinDistance extends Object
Constructor and Description |
---|
LevenshteinDistance() |
Modifier and Type | Method and Description |
---|---|
static int |
getLevenshteinDistance(String s,
String t,
int maxAllowedEditDistance)
Efficient version of Levenshtein Distance Algorithm.
|
public static int getLevenshteinDistance(String s, String t, int maxAllowedEditDistance)
s
- Stringt
- StringmaxAllowedEditDistance
- int