levenshtein-transformation

0.0.0 • Public • Published

levenshtein-transformation

Transform one string into another using the operations in the Levenshtein edit distance computation.

Uses the Wagner-Fisher algorithm, which is the really common dynamic programming approach. Runs in O(mn) and uses O(mn) memory. Outputs the set of Levenshtein operations to transform one string into another.

Includes a method to apply a sequence of Levenshtein operations to one string to transform it to the other. (Todo?) Optionally can output the intermediate sequence.

Package Sidebar

Install

npm i levenshtein-transformation

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • djechlin