Skip to main content

term_overlap

Function term_overlap 

Source
pub fn term_overlap(query: &str, text: &str) -> f32
Expand description

Fraction of distinct query tokens that occur as words in text (0.0-1.0). The in-memory store’s lexical signal.