Skip to main content

compute

Function compute 

Source
pub fn compute(pairs: &[(&Record, &Record)], seed: Option<u64>) -> AxisStat
Expand description

Compute the semantic-similarity axis using TF-IDF cosine.

This is the default path: no extra dependencies, deterministic, lexical. For paraphrase-robust similarity see compute_with_embedder.