Crate editdistancek

source ·
Expand description

Edit Distance

A library for fast finding the Levenshtein edit distance between s and t.

Functions

  • Returns edit distance between s and t.
  • If edit distance d between s and t is at most k, then returns Some(d) otherwise returns None.
  • Returns the length of longest common prefix s and t (uses SIMD if it is possible).