<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Id-Based_Aligner_Step</id>
	<title>Id-Based Aligner Step - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Id-Based_Aligner_Step"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Id-Based_Aligner_Step&amp;action=history"/>
	<updated>2026-04-22T07:08:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Id-Based_Aligner_Step&amp;diff=373&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Id-Based_Aligner_Step&amp;diff=373&amp;oldid=prev"/>
		<updated>2016-06-04T23:20:00Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:20, 4 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Id-Based_Aligner_Step&amp;diff=372&amp;oldid=prev</id>
		<title>Ctingley at 19:41, 18 March 2016</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Id-Based_Aligner_Step&amp;diff=372&amp;oldid=prev"/>
		<updated>2016-03-18T19:41:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Steps Header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
This step aligns the text units of two input files based on matching ids. The ids are taken from the name (&amp;lt;code&amp;gt;TextUnit.getName()&amp;lt;/code&amp;gt;) of each&lt;br /&gt;
text unit. Any filter that produces unique names (i.e., id) for its text units will work with this aligner, for example the [[Properties Filter]].&lt;br /&gt;
&lt;br /&gt;
Takes: filter events. Sends: filter events.&lt;br /&gt;
&lt;br /&gt;
If the option &amp;lt;cite&amp;gt;Generate a TMX file&amp;lt;/cite&amp;gt; is set, the events returned are unchanged. If the option is not set, in the events returned each text unit is a new (aligned) bi-lingual text unit. The text units that are in the source but not in the target generate a warning. The text units in the target but not in the source are ignored.&lt;br /&gt;
&lt;br /&gt;
The process expects both input to be non-segmented.&lt;br /&gt;
&lt;br /&gt;
The 'source' file contains is the first input file and provides the source content. The 'target' file is the second input file and provides the target content. If the 'target' file is in a monolingual format (like a Java properties file) the source extracted from that file is used as target content. If the 'target' file is a multilingual file (like an XLIFF document) the target extracted from that file is used as target content.&lt;br /&gt;
&lt;br /&gt;
If the 'target' file is multilingual, in addition to match in id, the step looks if the source content of both text unit with that same name have also the same source text. If they do not, not alignment is made.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Generate a TMX file&amp;lt;/cite&amp;gt; &amp;amp;mdash; Set this option to produce a TMX file. When this option is set, the event returned by the step are unchanged. When this option is not set, each text unit in the returned events is a new text unit with the aligned source and target content. &amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;: for target &amp;lt;code&amp;gt;&amp;amp;lt;tuv&amp;amp;gt;&amp;lt;/code&amp;gt; data to be generated in the TMX, the &amp;quot;Copy to/over the target&amp;quot; option must also be checked.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;TMX output path&amp;lt;/cite&amp;gt; &amp;amp;mdash; Output path of the TMX file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Fall back to source text&amp;lt;/cite&amp;gt; &amp;amp;mdash; If no target text available, use the source text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Copy to/over the target&amp;lt;/cite&amp;gt; &amp;amp;mdash; Copy the target. Existing target will be lost, and the target will not be segmented. If the entry from the 'target' file is set to ''approved'', the property is passed along too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Create an alternate translation annotation&amp;lt;/cite&amp;gt; &amp;amp;mdash; Set this option to attach an alternate translation annotation to the processed entry.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Suppress TUs with no target&amp;lt;/cite&amp;gt; &amp;amp;mdash; Set this option to prevent the step from passing on any text units that lack a target.&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
&lt;br /&gt;
* Assumes that each text unit has a unique name value. Make sure the filter being used is one that produces unique names (&amp;lt;code&amp;gt;TextUnit.getName()&amp;lt;/code&amp;gt;) for all text units in the documents.&lt;br /&gt;
* This step aligns the text units, not the possible segments inside the text units.&lt;br /&gt;
&lt;br /&gt;
[[Category:Steps]]&lt;/div&gt;</summary>
		<author><name>Ctingley</name></author>
	</entry>
</feed>