Objects of the same type.
A string similarity score is intended to have some of the properties of a metric, yet allowing for exceptions, like the Jaro-Winkler similarity score.
A similarity score is the function d: [X * X] -> [0, INFINITY) with the following properties:
d(x,y) >= 0, non-negativity or separation axiomd(x,y) == d(y,x), symmetry.
Notice, these are two of the properties that contribute to d being a metric.
| Modifier and Type | Method and Description |
|---|---|
| public R | Returns: The similarity score between two Objects.the "left" or "first" input. left, T the "right" or "second" input. right)Redeclares java. Compares two Objects. |
| apply | back to summary |
|---|---|
| public R apply(T left, T right) Redeclares java. Compares two Objects.
| |