# `Newxp.SimilarityUtils`

# `jaccard_similarity`

Calculate Jaccard similarity between two token lists over n-grams up to n_range.

Jaccard(A, B) = |A ∩ B| / |A ∪ B|

Score range is 0.0–1.0, where 1.0 means identical.

# `ngrams`

Extract n-grams from a list of tokens.

# `normalize_text`

Lowercase and split text into word tokens.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
