public class Jaro extends Object implements StringMetric
This class is immutable and thread-safe.
JaroWinkler| Constructor and Description |
|---|
Jaro() |
| Modifier and Type | Method and Description |
|---|---|
float |
compare(String a,
String b)
Measures the similarity between strings a and b.
|
String |
toString() |
public float compare(String a, String b)
StringMetriccompare in interface Metric<String>compare in interface StringMetrica - string a to compareb - string b to compareCopyright © 2014–2018. All rights reserved.