divec / ll

Two-way parallel translation
GNU Affero General Public License v3.0
3 stars 5 forks source link

Adapted corrections and conflicting deletions should be marked #33

Open divec opened 5 years ago

divec commented 5 years ago

Steps to reproduce:

Observed behaviour: The candidate looks like "Have you eat an apple?" Expected behaviour: Some sort conflict is signalled. The corrected word "Have" is marked somehow.

This is because the English correction diffs as "{-Do-}{+Have+} you{- have-} an apple?", and the two replacement ranges are treated separately to diff3. The "{- have-}" conflicts with the translation update, but the conflict is unrendered because it's a zero-length strike through. The {-Do-}{+Have+} is nonconflicting.

divec commented 5 years ago

Ameliorated by f778eb194ea11a26c19db873ba0e107b9b7a1bd3 . But if a human pure removal conflicts with a machine translation replacement, it may still not be obvious there is a conflict (because of the zero-length strikethrough problem)