Jaccard coefficient

\(|X ∩ Y| / |X ∪ Y|\)

Equals 1 when X == Y. 0 when X and Y are disjoint.

Assert a threshold, e.g. 0.8 for a match.