- editops, , .
:
Levenshtein.editops("FBBDE", "BCDASD")
[('delete', 0, 0), ('replace', 2, 1), ('insert', 4, 3), ('insert', 4, 4), ('replace', 4, 5)]
:
, .
editops (source_string, destination_string) editops (edit_operations, source_length, destination_length)
(, spos, dpos), equal', replace ', insert', or delete'; SPOS dpos - () () . . , equal',
but all the related functions accept both lists with and without equal.