Class JaccardSimilarity

java.lang.Object
org.apache.commons.text.similarity.JaccardSimilarity
All Implemented Interfaces:
SimilarityScore<Double>

public class JaccardSimilarity extends Object implements SimilarityScore<Double>
Measures the Jaccard similarity (aka Jaccard index) of two sets of character sequence. Jaccard similarity is the size of the intersection divided by the size of the union of the two sets.

For further explanation about Jaccard Similarity, refer https://en.wikipedia.org/wiki/Jaccard_index

Since:
1.0