- var m = levenshteinMatrix(a, b);
- var edits = editPath(m, a, b);
+ /** Interpolate between two strings slowly
+
+ This interpolation algorithm applys a partial edit of one
+ string into the other. This produces nice looking results,
+ but can take a significant amount of time and memory to
+ compute the edits. It is not recommended for strings
+ longer than a few hundred characters.
+ */
+ var edits = editPath(levenshteinMatrix(a, b), a, b);