Skip to main content

Crate matchr

Crate matchr 

Source

Re-exports§

pub use jaro_winkler::jaro_winkler;
pub use levenshtein::levenshtein;
pub use normalize::normalize;
pub use token::token_set_ratio;
pub use token::token_sort_ratio;
pub use trigram::trigram_similarity;

Modules§

jaro_winkler
levenshtein
normalize
python
token
trigram

Functions§

batch_best_match
Returns the best match for each query against the candidate list.
best_match
Returns the closest match from a list of candidates.
combined_score
Blends all three algorithms into one similarity score.
rank_matches
Returns all candidates ranked by similarity score, highest first.