Skip to content

moved text messes up the refinement step #3

@pverkind

Description

@pverkind

If wikEdDiff tags a piece of text as "moved" immediately after a piece of text tagged as "added" or "removed", the refining step in the kitabDiff script fails.

The reason is that in the current version of the script, a piece of "moved" text triggers the refinement.

Solution: do not trigger the refinement at a piece of moved text, but continue until a piece of common text (or the end of the text) is reached; add a placeholder for the moved text and add the moved text in later.

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