public interface StringDistance
Modifier and Type | Method and 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.