find_closest

Function find_closest 

Source
pub fn find_closest<'a>(
    input: &str,
    candidates: impl IntoIterator<Item = &'a str>,
    min_similarity: f64,
    algo: Algorithm,
) -> Option<Match>
Expand description

Find the closest match from a list of candidates

Returns None if no candidate meets the minimum similarity threshold.