https://www.wordfast.net/w/index.php?title=Tags_in_a_WFC_TM_Wordfast_Classic&feed=atom&action=history
Tags in a WFC TM Wordfast Classic - Revision history
2024-03-29T09:22:25Z
Revision history for this page on the wiki
MediaWiki 1.30.0
https://www.wordfast.net/w/index.php?title=Tags_in_a_WFC_TM_Wordfast_Classic&diff=3749&oldid=prev
Samar at 05:39, 6 November 2017
2017-11-06T05:39:52Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 05:39, 6 November 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>When dealing with so-called tagged documents, a <del class="diffchange diffchange-inline">Wordfast </del>TM records placeholders for tags. Those placeholders have a  &tX;  format, where X is the order of appearance of tags in the source segment. The X order is noted A (ANSI decimal 65), B, C, etc., up to ANSI decimal code 165. Thus, there can be no more than 100 tags in a <del class="diffchange diffchange-inline">Wordfast </del>segment.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>When dealing with so-called tagged documents, a <ins class="diffchange diffchange-inline">WFC </ins>TM records placeholders for tags. Those placeholders have a  &tX;  format, where X is the order of appearance of tags in the source segment. The X order is noted A (ANSI decimal 65), B, C, etc., up to ANSI decimal code 165. Thus, there can be no more than 100 tags in a <ins class="diffchange diffchange-inline">WFC </ins>segment.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>For example, the following tagged source segment:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>For example, the following <ins class="diffchange diffchange-inline">"</ins>tagged<ins class="diffchange diffchange-inline">" </ins>source segment:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><div style="text-align: center;font-family: Courier New"> <span style="color:#FF0000"><</span><span style="color:#FF0000">FONT FACE="Helvetica"></span> This is some text.<span style="color:#FF0000"></FONT></span></div></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><div style="text-align: center;font-family: Courier New"> <span style="color:#FF0000"><</span><span style="color:#FF0000">FONT FACE="Helvetica"></span> This is some text.<span style="color:#FF0000"></FONT></span></div></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><div style="text-align: center;font-family: Courier New"> &tA;This is some text.&tB; </div></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><div style="text-align: center;font-family: Courier New"> &tA;This is some text.&tB; </div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>At translation time, when <del class="diffchange diffchange-inline">Wordfast </del>pulls a TU from the TM and is about to propose the TU's target segment as a translation candidate, <del class="diffchange diffchange-inline">Wordfast </del>uses a substitution algorithm to dress the proposed target segment with the full "real" tags, taken from the document's (<u>not the TM's</u>) source segment, using a triangulation method:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>At translation time, when <ins class="diffchange diffchange-inline">WFC </ins>pulls a TU from the TM and is about to propose the TU's target segment as a translation candidate, <ins class="diffchange diffchange-inline">WFC </ins>uses a substitution algorithm to dress the proposed target segment with the full "real" tags, taken from the document's (<u>not the TM's</u>) source segment, using a triangulation method:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Document's source segment <—> TM's source segment <—> TM's target segment</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Document's source segment <—> TM's source segment <—> TM's target segment</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The triangulation can be successful only if all target tags have a "parent" tag in the source segment<del class="diffchange diffchange-inline">. This is because, at translation time, only the new source segment, and the target has to be worked out by the machine</del>. In <del class="diffchange diffchange-inline">other words, it's not a problem if </del>the <del class="diffchange diffchange-inline">TM's source segment contains tags that do not appear in the TM's target segment. The reverse is a problem, however. If </del>the TM's target segment has tags that do not appear in the TM's source segment (<del class="diffchange diffchange-inline">''</del>orphaned tags<del class="diffchange diffchange-inline">''</del>), <del class="diffchange diffchange-inline">Wordfast </del>records the full syntax of these orphaned tags at TU <del class="diffchange diffchange-inline">''</del>creation time<del class="diffchange diffchange-inline">''</del>, so that they can be restored properly at <del class="diffchange diffchange-inline">''</del>translation time<del class="diffchange diffchange-inline">''</del>, when the target segment must be proposed with the correct format. If we have, at TU creation time:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The triangulation can be successful only if all target tags have a "parent" tag in the source segment. In the <ins class="diffchange diffchange-inline">rare cases when </ins>the TM's target segment has tags that do not appear in the TM's source segment (orphaned tags), <ins class="diffchange diffchange-inline">WFC </ins>records the full syntax of these orphaned tags at TU creation time, so that they can be restored properly at translation time, when the target segment must be proposed with the correct format. If we have, at TU creation time:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l24" >Line 24:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><span style= "font-family: Courier New">&tA;Voici du texte&t=;&amp;nbsp;&t=;:</span></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><span style= "font-family: Courier New">&tA;Voici du texte&t=;&amp;nbsp;&t=;:</span></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>where <del class="diffchange diffchange-inline"><span style= "font-family: Courier New"></del>&t=<del class="diffchange diffchange-inline">;</span> </del>opens <del class="diffchange diffchange-inline"><u>''and''</u> closes </del>the original tag syntax (<del class="diffchange diffchange-inline"><span style= "color:#FF0000"></del>&amp;nbsp;<del class="diffchange diffchange-inline"></span> </del>in our example).</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>where &t= opens the original tag syntax (&amp;nbsp; in our example) <ins class="diffchange diffchange-inline">and ; (colon) closes the sequence</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Other examples of segments:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Other examples of segments:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In source segment: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del><span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here<span style= "color:#FF0000"><FT></span>. </span></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In source segment: ||<span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here<span style= "color:#FF0000"><FT></span>.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">|In target segment: ||<span style= "color:#FF0000"><AR></span>Voici du texte<span style= "color:#FF0000"><FT></ins></span> <ins class="diffchange diffchange-inline">ici.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In <del class="diffchange diffchange-inline">target segment</del>: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> <span style= "color:#FF0000"><AR></span>Voici du texte<span style= "color:#FF0000"><FT></span> ici</del>. <del class="diffchange diffchange-inline"></span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In <ins class="diffchange diffchange-inline">TM TU source</ins>: ||<ins class="diffchange diffchange-inline">&tA;This is some text&tB; here&tA;</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|<del class="diffchange diffchange-inline">In TM TU source: ||<span style= "font-family: Courier New"> &tA;This is some text&tB; here&tA;. </span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In TM TU target: ||&tB;Voici du texte&tA; ici.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">|-</del>In TM TU target: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del>&tB;Voici du texte&tA; ici. <del class="diffchange diffchange-inline"></span></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l44" >Line 44:</td>
<td colspan="2" class="diff-lineno">Line 47:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In source segment: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del><span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here. <del class="diffchange diffchange-inline"></span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In source segment: ||<span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In target segment: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del><span style= "color:#FF0000"><AR></span>Voici du<span style= "color:#FF0000"><AR></span> texte<span style= "color:#FF0000"><X;X></span> ici<span style= "color:#FF0000"><FT></span>. <del class="diffchange diffchange-inline"></span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In target segment: ||<span style= "color:#FF0000"><AR></span>Voici du<span style= "color:#FF0000"><AR></span> texte<span style= "color:#FF0000"><X;X></span> ici<span style= "color:#FF0000"><FT></span>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In TM TU source: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del>&tA;This is some text&tB; here. <del class="diffchange diffchange-inline"></span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In TM TU source: ||&tA;This is some text&tB; here.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|In TM TU target: ||<del class="diffchange diffchange-inline"><span style= "font-family: Courier New"> </del>&tB;Voici du&tB; texte&t=;<X;X>&t=; ici&tA;.<del class="diffchange diffchange-inline"></span></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|In TM TU target: ||&tB;Voici du&tB; texte&t=;<X;X>&t=; ici&tA;.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">In most translation memory systems, TMs are overloaded with tags that do not belong there. A TM takes significance when its content is put to (re-) use, meaning, when its past translations are leveraged for a new transation project. Re-using TM content is only done in the presence of a <u>new document</u> to be translated. In other words, at use time, we can operate a triangulation between a new document's new source segment which contains the new formatting, and an existing TM source/target pair which contains formatting placeholders.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Only orphaned </del>(<del class="diffchange diffchange-inline">unknown</del>) <del class="diffchange diffchange-inline">target</del>-<del class="diffchange diffchange-inline">side tags need </del>to <del class="diffchange diffchange-inline">store the complete tag syntax</del>. <del class="diffchange diffchange-inline">Those are target-side tags that have no equivalent n </del>the source segment<del class="diffchange diffchange-inline">. All </del>the <del class="diffchange diffchange-inline">rest is unnecessary</del>, <del class="diffchange diffchange-inline">purely redundant information</del>.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">In most translation memory systems, TMs are overloaded with tags that do not belong there. A TM takes significance when its content is put to </ins>(<ins class="diffchange diffchange-inline">re-</ins>) <ins class="diffchange diffchange-inline">use, meaning, when its past translations are leveraged for a new transation project. Re</ins>-<ins class="diffchange diffchange-inline">using TM content is only done in the presence of a new document </ins>to <ins class="diffchange diffchange-inline">be translated</ins>. <ins class="diffchange diffchange-inline">In other words, at use time, </ins>the <ins class="diffchange diffchange-inline">software operates a triangulation between a new document's new </ins>source segment <ins class="diffchange diffchange-inline">which contains </ins>the <ins class="diffchange diffchange-inline">new formatting</ins>, <ins class="diffchange diffchange-inline">and an existing TM source/target pair which contains formatting placeholders</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   Back to [[Wordfast Classic User Manual]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   Back to [[Wordfast Classic User Manual]]</div></td></tr>
</table>
Samar
https://www.wordfast.net/w/index.php?title=Tags_in_a_WFC_TM_Wordfast_Classic&diff=3556&oldid=prev
Samar: Created page with "When dealing with so-called tagged documents, a Wordfast TM records placeholders for tags. Those placeholders have a &tX; format, where X is the order of appearance of tags..."
2017-09-28T07:18:17Z
<p>Created page with "When dealing with so-called tagged documents, a Wordfast TM records placeholders for tags. Those placeholders have a &tX; format, where X is the order of appearance of tags..."</p>
<p><b>New page</b></p><div>When dealing with so-called tagged documents, a Wordfast TM records placeholders for tags. Those placeholders have a &tX; format, where X is the order of appearance of tags in the source segment. The X order is noted A (ANSI decimal 65), B, C, etc., up to ANSI decimal code 165. Thus, there can be no more than 100 tags in a Wordfast segment.<br />
<br />
For example, the following tagged source segment:<br />
<br />
<div style="text-align: center;font-family: Courier New"> <span style="color:#FF0000"><</span><span style="color:#FF0000">FONT FACE="Helvetica"></span> This is some text.<span style="color:#FF0000"></FONT></span></div><br />
<br />
would appear, in a Wordfast TM as:<br />
<br />
<div style="text-align: center;font-family: Courier New"> &tA;This is some text.&tB; </div><br />
<br />
At translation time, when Wordfast pulls a TU from the TM and is about to propose the TU's target segment as a translation candidate, Wordfast uses a substitution algorithm to dress the proposed target segment with the full "real" tags, taken from the document's (<u>not the TM's</u>) source segment, using a triangulation method:<br />
<br />
Document's source segment <—> TM's source segment <—> TM's target segment<br />
<br />
The triangulation can be successful only if all target tags have a "parent" tag in the source segment. This is because, at translation time, only the new source segment, and the target has to be worked out by the machine. In other words, it's not a problem if the TM's source segment contains tags that do not appear in the TM's target segment. The reverse is a problem, however. If the TM's target segment has tags that do not appear in the TM's source segment (''orphaned tags''), Wordfast records the full syntax of these orphaned tags at TU ''creation time'', so that they can be restored properly at ''translation time'', when the target segment must be proposed with the correct format. If we have, at TU creation time:<br />
{|<br />
|-<br />
|In source segment: || <span style= "font-family: Courier New"><span style= "color:#FF0000"><</span><span style= "color:#FF0000">FONT FACE="Arial"></span>This is some text: </span><br />
|-<br />
|In target segment: || <span style= "font-family: Courier New"><span style= "color:#FF0000"><</span><span style= "color:#FF0000">FONT FACE="Arial"></span>Voici du texte<span style= "color:#FF0000">&amp;nbsp;</span>: </span><br />
|}<br />
then the target segment would be recorded in the TM as:<br />
<br />
<span style= "font-family: Courier New">&tA;Voici du texte&t=;&amp;nbsp;&t=;:</span><br />
<br />
where <span style= "font-family: Courier New">&t=;</span> opens <u>''and''</u> closes the original tag syntax (<span style= "color:#FF0000">&amp;nbsp;</span> in our example).<br />
<br />
Other examples of segments:<br />
{|<br />
|-<br />
|In source segment: ||<span style= "font-family: Courier New"> <span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here<span style= "color:#FF0000"><FT></span>. </span><br />
|-<br />
|In target segment: ||<span style= "font-family: Courier New"> <span style= "color:#FF0000"><AR></span>Voici du texte<span style= "color:#FF0000"><FT></span> ici. </span><br />
|-<br />
|In TM TU source: ||<span style= "font-family: Courier New"> &tA;This is some text&tB; here&tA;. </span><br />
|-In TM TU target: ||<span style= "font-family: Courier New"> &tB;Voici du texte&tA; ici. </span><br />
|-<br />
|<br />
|-<br />
|<br />
|-<br />
|<br />
|-<br />
|<br />
|-<br />
|In source segment: ||<span style= "font-family: Courier New"> <span style= "color:#FF0000"><FT></span>This is some text<span style= "color:#FF0000"><AR></span> here. </span><br />
|-<br />
|In target segment: ||<span style= "font-family: Courier New"> <span style= "color:#FF0000"><AR></span>Voici du<span style= "color:#FF0000"><AR></span> texte<span style= "color:#FF0000"><X;X></span> ici<span style= "color:#FF0000"><FT></span>. </span><br />
|-<br />
|In TM TU source: ||<span style= "font-family: Courier New"> &tA;This is some text&tB; here. </span><br />
|-<br />
|In TM TU target: ||<span style= "font-family: Courier New"> &tB;Voici du&tB; texte&t=;<X;X>&t=; ici&tA;.</span><br />
|}<br />
In most translation memory systems, TMs are overloaded with tags that do not belong there. A TM takes significance when its content is put to (re-) use, meaning, when its past translations are leveraged for a new transation project. Re-using TM content is only done in the presence of a <u>new document</u> to be translated. In other words, at use time, we can operate a triangulation between a new document's new source segment which contains the new formatting, and an existing TM source/target pair which contains formatting placeholders.<br />
<br />
Only orphaned (unknown) target-side tags need to store the complete tag syntax. Those are target-side tags that have no equivalent n the source segment. All the rest is unnecessary, purely redundant information.<br />
Back to [[Wordfast Classic User Manual]]</div>
Samar