Expand description
Edit-distance based suggestions for typo correction.
Provides Levenshtein distance computation and closest-match lookup for generating “Did you mean …?” hints in error messages.
Functions§
- closest_
match - Returns the closest match to
inputfromcandidates, if withinmax_distanceedit distance.