| Modifier and Type | Field and Description |
|---|---|
| public static final int | INDEX_NOT_FOUND
Deprecated
Deprecated as of 1.7. This constant will be removed in 2.0.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Double | Returns: result distance.the first input, must not be null. left, final CharSequence the second input, must not be null. right)Implements org. Computes the Jaro Winkler Distance between two character sequences. |
| public < The type of similarity score unit. E> Double | Returns: result distance.the first input, must not be null. left, final SimilarityInput<E> the second input, must not be null. right)Implements org. Computes the Jaro Winkler Distance between two character sequences. |
| protected static int[] | Returns: array containing: matches, half transpositions, and prefixthe first string to be matched. first, final CharSequence the second string to be matched. second)
Deprecated
Deprecated as of 1.7, use
JaroWinklerSimilarity#matches(CharSequence, CharSequence).
Computes the Jaro-Winkler string matches, half transpositions, prefix array. |
| INDEX_NOT_FOUND | back to summary |
|---|---|
| public static final int INDEX_NOT_FOUND
Deprecated Deprecated as of 1.7. This constant will be removed in 2.0. | |
| JaroWinklerDistance | back to summary |
|---|---|
| public JaroWinklerDistance() Creates a new instance. | |
| apply | back to summary |
|---|---|
| public Double apply(final CharSequence left, final CharSequence right) Implements org. Computes the Jaro Winkler Distance between two character sequences. distance.apply(null, null) = Throws
| |
| apply | back to summary |
|---|---|
| public <E> Double apply(final SimilarityInput<E> left, final SimilarityInput<E> right) Implements org. Computes the Jaro Winkler Distance between two character sequences. distance.apply(null, null) = Throws
| |
| matches | back to summary |
|---|---|
| protected static int[] matches(final CharSequence first, final CharSequence second)
Deprecated Deprecated as of 1.7, use Computes the Jaro-Winkler string matches, half transpositions, prefix array.
| |