For further explanation about Jaccard Distance, refer https://en.wikipedia.org/wiki/Jaccard_index
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Double | Returns: The Jaccard distance.first input sequence. left, final CharSequence second input sequence. right)Implements org. Computes the Jaccard distance of two set character sequence passed as input. |
| public < The type of similarity score unit. E> Double | Returns: index.first input sequence. left, final SimilarityInput<E> second input sequence. right)Implements org. Computes the Jaccard distance of two set character sequence passed as input. |
| JaccardDistance | back to summary |
|---|---|
| public JaccardDistance() Creates a new instance. | |
| apply | back to summary |
|---|---|
| public Double apply(final CharSequence left, final CharSequence right) Implements org. Computes the Jaccard distance of two set character sequence passed as input. Calculates Jaccard similarity and returns the complement of it.
| |
| apply | back to summary |
|---|---|
| public <E> Double apply(final SimilarityInput<E> left, final SimilarityInput<E> right) Implements org. Computes the Jaccard distance of two set character sequence passed as input. Calculates Jaccard similarity and returns the complement of it.
| |