You are currently working on UAT 

Difference in segmentation behavior during alignment and translation input

 I am new to Trados Studio 2015. I am working on with my own XML document which has following structure in some parts :

XML document structure with highlighted inline tag <tag type='code'> in Trados Studio 2015.

 

 

When I perform alignment using the same file, the same inline tag is not segmented:

Alignment in Trados Studio showing the inline tag <tag type='code'> not segmented as expected.

The highlighted inline tag, <tag type="code"> causes segmentation in input source document with default segmentation settings in the TM:

Default segmentation settings in Trados Studio Translation Memory with no visible errors or warnings.



.
[edited by: John B at 2:54 PM (GMT 0) on 1 Mar 2024]
emoji
Parents
  • Hello,

    In this specific scenario, segmentation is not enforced by the TM but by the "Parser" rules of the File Type Filter used to process the XML.

    It looks like when processing the file in the Editor you have a custom file type filter enabled which enforces segmentation when encountering the <tag> element. I believe that you are using a custom XML file type filter because I created a similar test file (with the one from your screenshot), and the default Studio XML filter does not enforce segmentation at the <tag> element.

    When running the alignment it looks like the filter is no longer enabled, hence the default XML parser rules "kicks" in and you see the tag.

    My recommendation is to go to "File \ Options \ File Types" and make sure that your custom XML File Type Filter is available and enabled here before running the alignment. If the file is parsed with the same filter, both in the Editor and during Alignment, you should have the same results.

    Hope this helps!

    Vlad Bondor | Senior Technical Support Manager | RWS

Reply
  • Hello,

    In this specific scenario, segmentation is not enforced by the TM but by the "Parser" rules of the File Type Filter used to process the XML.

    It looks like when processing the file in the Editor you have a custom file type filter enabled which enforces segmentation when encountering the <tag> element. I believe that you are using a custom XML file type filter because I created a similar test file (with the one from your screenshot), and the default Studio XML filter does not enforce segmentation at the <tag> element.

    When running the alignment it looks like the filter is no longer enabled, hence the default XML parser rules "kicks" in and you see the tag.

    My recommendation is to go to "File \ Options \ File Types" and make sure that your custom XML File Type Filter is available and enabled here before running the alignment. If the file is parsed with the same filter, both in the Editor and during Alignment, you should have the same results.

    Hope this helps!

    Vlad Bondor | Senior Technical Support Manager | RWS

Children