Functionsยง
- closest_
match - Find the closest match to
targetfromcandidatesusing Levenshtein distance. ReturnsSome(name)only when the best candidate is withinmax(target.len() / 3, 1)edits - enough to catch typical typos without surfacing wild guesses. - levenshtein ๐
- Computes the Levenshtein edit distance between two strings.