Customized XML outline detection
Learn how to customize XML outline detection with the DeepL API.
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:
Parameters
Example request
Example response
While this approach is slightly more complicated, it allows for greater control over the structure of the translation output.
Last updated