public class EditDistance extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EditDistance.DistanceAlgorithm |
Constructor and Description |
---|
EditDistance(String baseString,
EditDistance.DistanceAlgorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
int |
compare(String string2,
int maxDistance) |
int |
DamerauLevenshteinDistance(String string2,
int maxDistance) |
public EditDistance(String baseString, EditDistance.DistanceAlgorithm algorithm)