Skip to content

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

@kkawabat

Description

@kkawabat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions