Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to include a method to return a sequence of edit operations performed similar to editops in python-Levenshtein? #20

Open
kkawabat opened this issue Aug 27, 2019 · 2 comments

Comments

@kkawabat
Copy link

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
Copy link
Collaborator

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
Copy link

+1 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants