Customized XML outline detection
Learn how to customize XML outline detection with the DeepL API.
Last updated
Learn how to customize XML outline detection with the DeepL API.
Last updated
Automatic detection of the XML structure will not always yield the best results in all XML files. You can disable this automatic mechanism by setting the outline_detection=0
and selecting the tags that should be considered structure tags. This will split sentences using the splitting_tags
parameter.
In the example below, we achieve the same results as the automatic engine by disabling automatic detection and setting the parameters manually:
While this approach is slightly more complicated, it allows for greater control over the structure of the translation output.