.alignment() should return values in a consistent format
Closed this issue · 1 comments
chrislit commented
For the new ._soft_src_tar_int() member of TokenDistance to work correctly, it expects .alignment to return in a format like Levenshtein.alignment does:
(value, src-aligned, tar-aligned)
Here, value is the dist_abs value and the two aligned strings have '-' in place of insertions/deletions. Other classes with .alignment() members should return (at least optionally) in the same format.