Expand description
Simple fuzzy matching utilities. Fuzzy matching helpers.
Used for “did you mean” suggestions in CLI error messages.
Structs§
- Scored
Candidate - A candidate string scored by edit distance.
Functions§
- levenshtein
- Compute the Levenshtein edit distance between two strings.
- nearest_
matches - Return up to
maxcandidates closest toinput.