Expand description
§Edit Distance
A library for fast finding the Levenshtein edit distance between s
and t
.
Functions§
- edit_
distance - Returns edit distance between
s
andt
. - edit_
distance_ bounded - If edit distance
d
betweens
andt
is at mostk
, then returnsSome(d)
otherwise returnsNone
. - mismatch
- Returns the length of longest common prefix
s
andt
(uses SIMD if it is possible).