Skip to main content

jaccard_similarity

Function jaccard_similarity 

pub fn jaccard_similarity(a: &str, b: &str) -> f64
Expand description

Simple text-based conflict detection without embeddings. Uses token overlap (Jaccard similarity) as a fast approximation when vector embeddings are unavailable.