JaroWinklerDistance, LevensteinDistance, NGramDistancepublic interface StringDistance
| Modifier and Type | Method | Description |
|---|---|---|
float |
getDistance(String s1,
String s2) |
Returns a float between 0 and 1 based on how similar the specified strings are to one another.
|
float getDistance(String s1, String s2)
s1 - The first string.s2 - The second string.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.