is it possible to include a method to return a sequence of edit operations performed similar to editops in python-Levenshtein?
kkawabat opened this issue · 2 comments
kkawabat commented
in python-Levenshtein they have a method called editops
that returns the operations done from the source to the destination.
editops('spam', 'park')
[('delete', 0, 0), ('insert', 3, 2), ('replace', 3, 3)]
I feel that this would be useful method for the package.
gfairchild commented
I like that idea a lot, but I unfortunately don't have the time at the moment to implement new features. If you'd like you implement it and submit a pull request, that would be great!
remiadon commented
+1 for this