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