Details
-
Improvement
-
Resolution: Unresolved
-
None
-
None
-
Critical
-
Empty show more show less
Description
Problem
DeepL often places tags not at the right position. Due to former bad tag handling in DeepL (complete omission of tags or messing up of tag order) we currently send all tags as img-tags, even whitespace tags. This of course does not allow DeepL to understand more, what a tag is about and where to place it.
Solution
Tag handling was probably very much improved in DeepL.
We should try to use those parameters of DeepL
tag_handling=xml, split_sentences=nonewlines
and send all content as we do it with t5memory (tags as xliff tags and whitespace as plain whitespace).
If in tests DeepL will then not handle newlines as it should (just keep them and place them at the right position) we would still have to convert newlines to ph-tags.
Also our tag repair should still kick in at the end and repair, what it thinks it needs to repair.
The chance is high, that tasks like in the linked TS-issue are then much better.
Attachments
Issue Links
- blocks
-
TRANSLATE-4221 Save analysis from xliff
- Final pull request