<?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=Tikal_-_Extraction_Commands</id>
	<title>Tikal - Extraction Commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Tikal_-_Extraction_Commands"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;action=history"/>
	<updated>2026-04-15T07:33:36Z</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=Tikal_-_Extraction_Commands&amp;diff=869&amp;oldid=prev</id>
		<title>Kuro2 at 21:51, 12 April 2021</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=869&amp;oldid=prev"/>
		<updated>2021-04-12T21:51:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:51, 12 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l190&quot;&gt;Line 190:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 190:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-overtrg&amp;lt;/code&amp;gt; || Copy the leveraged translation into the target, even if is already an existing target content.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-overtrg&amp;lt;/code&amp;gt; || Copy the leveraged translation into the target, even if is already an existing target content.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-bpt&amp;lt;/code&amp;gt; || Use the &amp;lt;code&amp;gt;&amp;amp;lt;bpt&amp;gt;/&amp;amp;lt;ept&amp;gt;/&amp;amp;lt;ph&amp;gt;&amp;lt;/code&amp;gt; notation instead of the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;/&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation in &amp;lt;code&amp;gt;&amp;amp;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lat&lt;/del&gt;-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-bpt&amp;lt;/code&amp;gt; || Use the &amp;lt;code&amp;gt;&amp;amp;lt;bpt&amp;gt;/&amp;amp;lt;ept&amp;gt;/&amp;amp;lt;ph&amp;gt;&amp;lt;/code&amp;gt; notation instead of the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;/&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation in &amp;lt;code&amp;gt;&amp;amp;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lt;alt&lt;/ins&gt;-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-from mosesFile&amp;lt;/code&amp;gt; || The path of the Moses InlineText file from which to leverage the text. If this option is not set, the file to leverage from is the same as the input file with the language code of the target appended as an extension. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-from mosesFile&amp;lt;/code&amp;gt; || The path of the Moses InlineText file from which to leverage the text. If this option is not set, the file to leverage from is the same as the input file with the language code of the target appended as an extension. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kuro2</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=861&amp;oldid=prev</id>
		<title>Kuro2: Removing mentions of -x1, -x2, and skeleton file as they are obsolete.</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=861&amp;oldid=prev"/>
		<updated>2021-04-09T18:00:19Z</updated>

		<summary type="html">&lt;p&gt;Removing mentions of -x1, -x2, and skeleton file as they are obsolete.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:00, 9 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  -x [options] inputFile [inputFile2...]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  -x [options] inputFile [inputFile2...]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note: &amp;lt;code&amp;gt;-x2&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt; while &amp;lt;code&amp;gt;-x1&amp;lt;/code&amp;gt; extract without generating a skeleton file (and is meant to be merged using &amp;lt;code&amp;gt;-m2&amp;lt;/code&amp;gt;).&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where the options are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where the options are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot;&gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Merge Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Merge Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;This command merges back into their original format one or more XLIFF documents that were created using the [[#Extract Files|Extract Files command]]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If you have extracted with &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-x2&amp;lt;/code&amp;gt; you must have the skeleton files in the same directories as their corresponding XLIFF documents. If you have extracted with &amp;lt;code&amp;gt;-x1&amp;lt;/code&amp;gt; you must have the original files in the same directories as their corresponding XLIFF documents&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;This command merges back into their original format one or more XLIFF documents that were created using the [[#Extract Files|Extract Files command]].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{NoteBox|If you are merging with the original files (&amp;lt;code&gt;-x1&amp;lt;/code&gt;), the original files must be exactly the same as when they were extracted to XLIFF, and the same encoding and filter configuration must be used. Any difference may result in a different extraction and could cause merging errors.}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The XLIFF document names must be the name of the original files with an additional &amp;lt;code&amp;gt;.xlf&amp;lt;/code&amp;gt; extension. The new documents are created in the directories where the XLIFF documents are, with a &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; extension pre-pended to the original extension. For example, if your original file is &amp;lt;code&amp;gt;myFile.html&amp;lt;/code&amp;gt;, the XLIFF document should be &amp;lt;code&amp;gt;myFile.html.xlf&amp;lt;/code&amp;gt;, and the merged file will be &amp;lt;code&amp;gt;myFile.out.html&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The XLIFF document names must be the name of the original files with an additional &amp;lt;code&amp;gt;.xlf&amp;lt;/code&amp;gt; extension. The new documents are created in the directories where the XLIFF documents are, with a &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; extension pre-pended to the original extension. For example, if your original file is &amp;lt;code&amp;gt;myFile.html&amp;lt;/code&amp;gt;, the XLIFF document should be &amp;lt;code&amp;gt;myFile.html.xlf&amp;lt;/code&amp;gt;, and the merged file will be &amp;lt;code&amp;gt;myFile.out.html&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l84&quot;&gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  -m [options] xliffFile [xliffFile2...]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  -m [options] xliffFile [xliffFile2...]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note: &amp;lt;code&gt;-m2&amp;lt;/code&gt; is the same as &amp;lt;code&gt;-m&amp;lt;/code&gt; and use a skeleton file for the merge, while &amp;lt;code&gt;-m1&amp;lt;/code&gt; uses the original document for the merge.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where the options are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where the options are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kuro2</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=685&amp;oldid=prev</id>
		<title>Okapifra: /* Extract Files */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=685&amp;oldid=prev"/>
		<updated>2017-08-13T10:43:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extract Files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:43, 13 August 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-od outputDirectory&amp;lt;/code&amp;gt; || The directory where to place the output.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-od outputDirectory&amp;lt;/code&amp;gt; || The directory where to place the output.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-pen tmDirectory&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tt hostname[:port]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gs configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-mm [key]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gg configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-apertium [configFile]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-ms configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tda configFile&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-pen tmDirectory&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tt &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;hostname[:port&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gs configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-mm [key]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gg configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-apertium [configFile]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-ms configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tda configFile&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#x7c;&amp;lt;br/&amp;gt;-lingo24 configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-mmt url context&amp;amp;#x7c;&amp;lt;br/&amp;gt;-bi bilingualFile&lt;/ins&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;| A translation resource connector to use to translate the document: &amp;lt;code&amp;gt;-pen&amp;lt;/code&amp;gt; for the [[Pensieve TM Connector]], &amp;lt;code&amp;gt;-tt&amp;lt;/code&amp;gt; for the [[Translate Toolkit TM Connector]], &amp;lt;code&amp;gt;-gs&amp;lt;/code&amp;gt; for the [[GlobalSight TM Connector]], &amp;lt;code&amp;gt;-mm&amp;lt;/code&amp;gt; for [[MyMemory TM Connector]], &amp;lt;code&amp;gt;-gg&amp;lt;/code&amp;gt; for the [[Google MT v2 Connector]], &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;-apertium&amp;lt;/code&amp;gt; for the [[Apertium MT Connector]], &amp;lt;code&amp;gt;-ms&amp;lt;/code&amp;gt; for the [[Microsoft Translator Connector]], &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/del&gt;&amp;lt;code&amp;gt;-tda&amp;lt;/code&amp;gt; for the [[TDA Translation Repository Connector]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;| A translation resource connector to use to translate the document: &amp;lt;code&amp;gt;-pen&amp;lt;/code&amp;gt; for the [[Pensieve TM Connector]], &amp;lt;code&amp;gt;-tt&amp;lt;/code&amp;gt; for the [[Translate Toolkit TM Connector]], &amp;lt;code&amp;gt;-gs&amp;lt;/code&amp;gt; for the [[GlobalSight TM Connector]], &amp;lt;code&amp;gt;-mm&amp;lt;/code&amp;gt; for [[MyMemory TM Connector]], &amp;lt;code&amp;gt;-gg&amp;lt;/code&amp;gt; for the [[Google MT v2 Connector]], &amp;lt;code&amp;gt;-apertium&amp;lt;/code&amp;gt; for the [[Apertium MT Connector]], &amp;lt;code&amp;gt;-ms&amp;lt;/code&amp;gt; for the [[Microsoft Translator Connector]], &amp;lt;code&amp;gt;-tda&amp;lt;/code&amp;gt; for the [[TDA Translation Repository &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Connector]], &amp;lt;code&amp;gt;-lingo24&amp;lt;/code&amp;gt; for the [[Lingo24 Premium MT Connector]], &amp;lt;code&amp;gt;-mmt&amp;lt;/code&amp;gt; for the [[ModernMT API Connector]] and &amp;lt;code&amp;gt;-bi&amp;lt;/code&amp;gt; for the [[Bilingual File &lt;/ins&gt;Connector]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;The leveraging occurs after segmentation, if you have &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;specify &lt;/del&gt;segmentation rules.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;The leveraging occurs after segmentation, if you have &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;specified &lt;/ins&gt;segmentation rules.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that some Internet-based resource may be slow and result in lengthy processing time. Be also aware that some translation resources may not always provide a good handling of inline codes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that some Internet-based resource may be slow and result in lengthy processing time. Be also aware that some translation resources may not always provide a good handling of inline codes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Okapifra</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=652&amp;oldid=prev</id>
		<title>Okapifra: /* Leverage Files from Moses */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=652&amp;oldid=prev"/>
		<updated>2017-03-12T15:32:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Leverage Files from Moses&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:32, 12 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l194&quot;&gt;Line 194:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 194:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-bpt&amp;lt;/code&amp;gt; || Use the &amp;lt;code&amp;gt;&amp;amp;lt;bpt&amp;gt;/&amp;amp;lt;ept&amp;gt;/&amp;amp;lt;ph&amp;gt;&amp;lt;/code&amp;gt; notation instead of the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;/&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation in &amp;lt;code&amp;gt;&amp;amp;lat-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-bpt&amp;lt;/code&amp;gt; || Use the &amp;lt;code&amp;gt;&amp;amp;lt;bpt&amp;gt;/&amp;amp;lt;ept&amp;gt;/&amp;amp;lt;ph&amp;gt;&amp;lt;/code&amp;gt; notation instead of the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;/&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation in &amp;lt;code&amp;gt;&amp;amp;lat-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-from mosesFile&amp;lt;/code&amp;gt; || The path of the Moses InlineText file from which to leverage the text. If this option is not set, the file to leverage from is the same as the input file with the language code of the target appended as an extension.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-from mosesFile&amp;lt;/code&amp;gt; || The path of the Moses InlineText file from which to leverage the text. If this option is not set, the file to leverage from is the same as the input file with the language code of the target appended as an extension&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to outputFile&amp;lt;/code&amp;gt; || The path of the output file to generate. If this option is not set, the output is the same as the input with &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; prepended to the file extension.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to outputFile&amp;lt;/code&amp;gt; || The path of the output file to generate. If this option is not set, the output is the same as the input with &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; prepended to the file extension&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Okapifra</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=651&amp;oldid=prev</id>
		<title>Okapifra: /* Extract Files to Moses */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=651&amp;oldid=prev"/>
		<updated>2017-03-12T15:31:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extract Files to Moses&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:31, 12 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; || Extract two files: one for the source, one for the target. The target file has as many lines as the source file as lines. If there is an existing target segment, the target segment is extracted, otherwise an empty line is used for the missing target.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; || Extract two files: one for the source, one for the target. The target file has as many lines as the source file as lines. If there is an existing target segment, the target segment is extracted, otherwise an empty line is used for the missing target.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to srcOutputFile&amp;lt;/code&amp;gt; || The path of the Moses source file to generate. The last part of the path is the template filename to use, the code of the source language is added automatically. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If you do so, the output will contain only the result of the last input file&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to srcOutputFile&amp;lt;/code&amp;gt; || The path of the Moses source file to generate. The last part of the path is the template filename to use, the code of the source language is added automatically. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Okapifra</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=650&amp;oldid=prev</id>
		<title>Okapifra: /* Extract Files to Moses */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=650&amp;oldid=prev"/>
		<updated>2017-03-12T14:15:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extract Files to Moses&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:15, 12 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; || Extract two files: one for the source, one for the target. The target file has as many lines as the source file as lines. If there is an existing target segment, the target segment is extracted, otherwise an empty line is used for the missing target.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; || Extract two files: one for the source, one for the target. The target file has as many lines as the source file as lines. If there is an existing target segment, the target segment is extracted, otherwise an empty line is used for the missing target.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to srcOutputFile&amp;lt;/code&amp;gt; || The path of the Moses source file to generate. The last part of the path is the template filename to use, the code of the source language is added automatically.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to srcOutputFile&amp;lt;/code&amp;gt; || The path of the Moses source file to generate. The last part of the path is the template filename to use, the code of the source language is added automatically&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; You must not use this option if you are processing several files at the same time. If you do so, the output will contain only the result of the last input file&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Okapifra</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=57&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=57&amp;oldid=prev"/>
		<updated>2016-06-04T23:12:50Z</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:12, 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=Tikal_-_Extraction_Commands&amp;diff=56&amp;oldid=prev</id>
		<title>Ysavourel: /* Merge Files */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Extraction_Commands&amp;diff=56&amp;oldid=prev"/>
		<updated>2014-05-09T20:36:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Merge Files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Tikal Common Menu}}&lt;br /&gt;
__TOC__&lt;br /&gt;
==Extract Files==&lt;br /&gt;
&lt;br /&gt;
This command extracts the translatable content of one or more given files into an [[XLIFF|XLIFF document]]. You can then use any XLIFF-aware translation tool to translate the document (See &amp;quot;[[How to Translate XLIFF Documents]]&amp;quot; for more information). When the translation is done, you can use the [[#Merge Files|Merge Files command]] to create a new translated file in its original format.&lt;br /&gt;
&lt;br /&gt;
The XLIFF documents created are placed in the same directories as the original files, and have the same name with an additional .xlf extension.&lt;br /&gt;
&lt;br /&gt;
By default, some extensions are mapped to a specific filter configuration (for example: &amp;lt;code&amp;gt;.docx&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;okf_openxml&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.odt&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;okf_openoffice&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.po&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;okf_po&amp;lt;/code&amp;gt;, etc.). But you can define your own configuration and specify it as well using the &amp;lt;code&amp;gt;-fc&amp;lt;/code&amp;gt; option. To get a list of all available filter configurations use the [[Tikal - Miscellaneous Commands#List Filter Configurations|List Filter Configurations command]]. For more details the filters available and their configurations, see each [[Filters|filter's documentation]].&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; option to specify that the extracted text should be segmented. Use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without file name to use the default segmentation rules, use &amp;quot;&amp;lt;code&amp;gt;-seg myRules.srx&amp;lt;/code&amp;gt;&amp;quot; to specify your own rules. The rules file must be in SRX format. The segments are marked up according the XLIFF 1.2 specifications.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -x [options] inputFile [inputFile2...]&lt;br /&gt;
&lt;br /&gt;
Note: &amp;lt;code&amp;gt;-x2&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt; while &amp;lt;code&amp;gt;-x1&amp;lt;/code&amp;gt; extract without generating a skeleton file (and is meant to be merged using &amp;lt;code&amp;gt;-m2&amp;lt;/code&amp;gt;).&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the extraction.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language for the output (also used in the input if the input documents are multilingual). [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-od outputDirectory&amp;lt;/code&amp;gt; || The directory where to place the output.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-pen tmDirectory&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tt hostname[:port]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gs configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-mm [key]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-gg configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-apertium [configFile]&amp;amp;#x7c;&amp;lt;br/&amp;gt;-ms configFile&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tda configFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| A translation resource connector to use to translate the document: &amp;lt;code&amp;gt;-pen&amp;lt;/code&amp;gt; for the [[Pensieve TM Connector]], &amp;lt;code&amp;gt;-tt&amp;lt;/code&amp;gt; for the [[Translate Toolkit TM Connector]], &amp;lt;code&amp;gt;-gs&amp;lt;/code&amp;gt; for the [[GlobalSight TM Connector]], &amp;lt;code&amp;gt;-mm&amp;lt;/code&amp;gt; for [[MyMemory TM Connector]], &amp;lt;code&amp;gt;-gg&amp;lt;/code&amp;gt; for the [[Google MT v2 Connector]],  &amp;lt;code&amp;gt;-apertium&amp;lt;/code&amp;gt; for the [[Apertium MT Connector]], &amp;lt;code&amp;gt;-ms&amp;lt;/code&amp;gt; for the [[Microsoft Translator Connector]], and &amp;lt;code&amp;gt;-tda&amp;lt;/code&amp;gt; for the [[TDA Translation Repository Connector]].&lt;br /&gt;
&lt;br /&gt;
The leveraging occurs after segmentation, if you have specify segmentation rules.&lt;br /&gt;
&lt;br /&gt;
Note that some Internet-based resource may be slow and result in lengthy processing time. Be also aware that some translation resources may not always provide a good handling of inline codes.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-opt threshold&amp;lt;/code&amp;gt; || TM query option: The threshold is a number between 0 and 100. If this option is not set the default is 95. Note that this option may be limited for some search engines because of the way they are configured.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-maketmx [tmxFile]&amp;lt;/code&amp;gt; || Generates a TMX document with all the entries leveraged. You can specify the name of the document, if you do not it will be named &amp;lt;code&amp;gt;pretrans.tmx&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-nocopy&amp;lt;/code&amp;gt; || Ensures that the generated XLIFF files do not have a copy of the source text in the target entries if the original target does not exists.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-noalttrans&amp;lt;/code&amp;gt; || Ensures that the generated XLIFF files do not have added &amp;lt;code&amp;gt;&amp;amp;lt;alt-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-codeattrs&amp;lt;/code&amp;gt; || Enables the output of extended attributes &amp;lt;code&amp;gt;ctype&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;equiv-text&amp;lt;/code&amp;gt; for inline codes.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-safe&amp;lt;/code&amp;gt; || Shows a warning before overwriting output files.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -x *.docx *.html&lt;br /&gt;
&lt;br /&gt;
Extracts all &amp;lt;code&amp;gt;.docx&amp;lt;/code&amp;gt; and .html files in the current directory into corresponding &amp;lt;code&amp;gt;.docx.xlf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.html.xlf&amp;lt;/code&amp;gt; XLIFF documents. The source language here is the default, which is the current language of the system. The target language by default is &amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt;. No segmentation is done.&lt;br /&gt;
&lt;br /&gt;
 tikal -x -sl EN tl DE -fc okf_regex-srt -ie iso-8859-1 findingNemo.srt&lt;br /&gt;
&lt;br /&gt;
Extracts the sub-title file &amp;lt;code&amp;gt;findingNemo.srt&amp;lt;/code&amp;gt; into a &amp;lt;code&amp;gt;findingNemo.srt.xlf&amp;lt;/code&amp;gt; XLIFF document. The encoding &amp;lt;code&amp;gt;iso-8859-&amp;lt;/code&amp;gt;1 is used to process the input file. The filter used is the [[Regex Filter]] with the predefined configuration for SRT documents. The source language is English (&amp;lt;code&amp;gt;EN&amp;lt;/code&amp;gt;) and the target language is German (&amp;lt;code&amp;gt;DE&amp;lt;/code&amp;gt;). No segmentation is done.&lt;br /&gt;
&lt;br /&gt;
 tikal -x *.docx -seg -tl BR&lt;br /&gt;
&lt;br /&gt;
Extracts all &amp;lt;code&amp;gt;.docx&amp;lt;/code&amp;gt; files in the current directory into corresponding &amp;lt;code&amp;gt;.docx.xlf&amp;lt;/code&amp;gt; XLIFF documents. The source language here is the default, which is the current language of the system. The target language is Breton (&amp;lt;code&amp;gt;BR&amp;lt;/code&amp;gt;). The extracted text units will be segmented according the rules defined in the default SRX segmentation rules file (located in the &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; sub-directory in your Okapi main directory).&lt;br /&gt;
&lt;br /&gt;
 tikal -x *.odt -od toTrans -tl ZU&lt;br /&gt;
&lt;br /&gt;
Extracts all &amp;lt;code&amp;gt;.odt&amp;lt;/code&amp;gt; files in the current directory into corresponding &amp;lt;code&amp;gt;.odt.xlf&amp;lt;/code&amp;gt; XLIFF documents into the &amp;lt;code&amp;gt;toTrans&amp;lt;/code&amp;gt; sub-directory of the current directory. The source language here is the default, which is the current language of the system. The target language is Breton (&amp;lt;code&amp;gt;ZU&amp;lt;/code&amp;gt;). The extracted text units will be segmented according the rules defined in the default SRX segmentation rules file (located in the &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; sub-directory in your Okapi main directory).&lt;br /&gt;
&lt;br /&gt;
==Merge Files==&lt;br /&gt;
&lt;br /&gt;
This command merges back into their original format one or more XLIFF documents that were created using the [[#Extract Files|Extract Files command]]. If you have extracted with &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-x2&amp;lt;/code&amp;gt; you must have the skeleton files in the same directories as their corresponding XLIFF documents. If you have extracted with &amp;lt;code&amp;gt;-x1&amp;lt;/code&amp;gt; you must have the original files in the same directories as their corresponding XLIFF documents. &lt;br /&gt;
&lt;br /&gt;
{{NoteBox|If you are merging with the original files (&amp;lt;code&amp;gt;-x1&amp;lt;/code&amp;gt;), the original files must be exactly the same as when they were extracted to XLIFF, and the same encoding and filter configuration must be used. Any difference may result in a different extraction and could cause merging errors.}}&lt;br /&gt;
&lt;br /&gt;
The XLIFF document names must be the name of the original files with an additional &amp;lt;code&amp;gt;.xlf&amp;lt;/code&amp;gt; extension. The new documents are created in the directories where the XLIFF documents are, with a &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; extension pre-pended to the original extension. For example, if your original file is &amp;lt;code&amp;gt;myFile.html&amp;lt;/code&amp;gt;, the XLIFF document should be &amp;lt;code&amp;gt;myFile.html.xlf&amp;lt;/code&amp;gt;, and the merged file will be &amp;lt;code&amp;gt;myFile.out.html&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -m [options] xliffFile [xliffFile2...]&lt;br /&gt;
&lt;br /&gt;
Note: &amp;lt;code&amp;gt;-m2&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt; and use a skeleton file for the merge, while &amp;lt;code&amp;gt;-m1&amp;lt;/code&amp;gt; uses the original document for the merge.&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the re-extraction of the original file.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the original files. This is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-oe encoding&amp;lt;/code&amp;gt; || The encoding name of the file to generate. The same encoding as the input file will be used if this option is not specified.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sd sourceDirectory&amp;lt;/code&amp;gt; || The directory where to find the source file of the XLIFF document.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-od outputDirectory&amp;lt;/code&amp;gt; || The directory where to place the output.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -m *.xlf -sl EN -tl DE&lt;br /&gt;
&lt;br /&gt;
Merges all XLIFF documents in the directory. The skeleton files should be in the same directory as well. The source language is English and the target language is German.&lt;br /&gt;
&lt;br /&gt;
 tikal -m toTrans/*.xlf -sl EN -tl ZU -sd . -od xlated&lt;br /&gt;
&lt;br /&gt;
Merges all XLIFF documents in the &amp;lt;code&amp;gt;toTrans&amp;lt;/code&amp;gt; sub-directory of the current directory. The skeleton files are in the current directory. The merged files are placed in the &amp;lt;code&amp;gt;xlated&amp;lt;/code&amp;gt; sub-directory of the current directory. The source language is English and the target language is Zulu.&lt;br /&gt;
&lt;br /&gt;
==Extract Files to Moses==&lt;br /&gt;
&lt;br /&gt;
This command extracts the translatable content of one or more given files into a [[Moses Text Filter|text format usable by Moses]]. You can then perform various tasks on this document.&lt;br /&gt;
&lt;br /&gt;
The Moses files created are placed in the same directories as the original files, and have the same name with an additional extension that is the code of the source locale.&lt;br /&gt;
&lt;br /&gt;
If the option &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; is set, the target output has the same name as the source output, but with an extension that is the code of the target locale, except if the source file ends with an extension that it the code of the source locale. In that case, the target file takes the name of the source file with the last extension replaced by the code of the target language. For example, if the English source output is &amp;lt;code&amp;gt;out.txt&amp;lt;/code&amp;gt;, the target output for French is &amp;lt;code&amp;gt;out.txt.fr&amp;lt;/code&amp;gt;. If the English source output is &amp;lt;code&amp;gt;out.en&amp;lt;/code&amp;gt;, the target output for French is &amp;lt;code&amp;gt;out.fr&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -xm [options] inputFile&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the extraction.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. This is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language (used in the input if the input documents are multilingual). [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-2&amp;lt;/code&amp;gt; || Extract two files: one for the source, one for the target. The target file has as many lines as the source file as lines. If there is an existing target segment, the target segment is extracted, otherwise an empty line is used for the missing target.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to srcOutputFile&amp;lt;/code&amp;gt; || The path of the Moses source file to generate. The last part of the path is the template filename to use, the code of the source language is added automatically.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -xm myFile.html&lt;br /&gt;
&lt;br /&gt;
Extracts the HTML file &amp;lt;code&amp;gt;myFile.html&amp;lt;/code&amp;gt; in the current directory into corresponding &amp;lt;code&amp;gt;myFile.html.en&amp;lt;/code&amp;gt; Moses document, assuming the default source language is English.&lt;br /&gt;
&lt;br /&gt;
 tikal -xm myFile.xlf -2 -sl en-us -tl af&lt;br /&gt;
&lt;br /&gt;
Extracts the content of the XLIFF document &amp;lt;code&amp;gt;myFile.xlf&amp;lt;/code&amp;gt; into two Moses InlineText files. The first one named &amp;lt;code&amp;gt;myFile.xlf.en-us&amp;lt;/code&amp;gt; for the source, the second called &amp;lt;code&amp;gt;myFile.xlf.af&amp;lt;/code&amp;gt; for the target.&lt;br /&gt;
&lt;br /&gt;
 tikal -xm myFile.xlf -2 -to out.txt -sl en -tl zu&lt;br /&gt;
&lt;br /&gt;
Extracts the content of the XLIFF document &amp;lt;code&amp;gt;myFile.xlf&amp;lt;/code&amp;gt; into two Moses InlineText files. The first one named &amp;lt;code&amp;gt;out.txt.en&amp;lt;/code&amp;gt; for the source, the second called &amp;lt;code&amp;gt;out.txt.zu&amp;lt;/code&amp;gt; for the target.&lt;br /&gt;
&lt;br /&gt;
==Leverage Files from Moses==&lt;br /&gt;
&lt;br /&gt;
This command takes an input file, and leverages the translation found in its corresponding Moses InlineText files. The initial InlineText file should be created with the [[#Extract Files to Moses|Extract Files to Moses command]].&lt;br /&gt;
&lt;br /&gt;
The filter configuration, input encoding and segmentation parameters must be the same in this command as they were in the extraction command. This is to ensure the entries between the input file and the corresponding Moses file match one-to-one.&lt;br /&gt;
&lt;br /&gt;
The new documents are created in the directories where the input documents are, with a &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; extension pre-pended to the original extension. For example, if your original file is &amp;lt;code&amp;gt;myFile.xlf&amp;lt;/code&amp;gt;, and your target language is Zulu, the Moses InlineText document should be (by default) &amp;lt;code&amp;gt;myFile.xlf.zu&amp;lt;/code&amp;gt;, and the leveraged result file will be &amp;lt;code&amp;gt;myFile.out.xlf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -lm [options] inputFile&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the extraction.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. This is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-oe encoding&amp;lt;/code&amp;gt; || The encoding name of the file to generate. The same encoding as the input file will be used if this option is not specified.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-totrg&amp;lt;/code&amp;gt; || Copy the leveraged translation into the target, except if there is already an existing target content.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-overtrg&amp;lt;/code&amp;gt; || Copy the leveraged translation into the target, even if is already an existing target content.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-bpt&amp;lt;/code&amp;gt; || Use the &amp;lt;code&amp;gt;&amp;amp;lt;bpt&amp;gt;/&amp;amp;lt;ept&amp;gt;/&amp;amp;lt;ph&amp;gt;&amp;lt;/code&amp;gt; notation instead of the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;/&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation in &amp;lt;code&amp;gt;&amp;amp;lat-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-from mosesFile&amp;lt;/code&amp;gt; || The path of the Moses InlineText file from which to leverage the text. If this option is not set, the file to leverage from is the same as the input file with the language code of the target appended as an extension.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-to outputFile&amp;lt;/code&amp;gt; || The path of the output file to generate. If this option is not set, the output is the same as the input with &amp;lt;code&amp;gt;.out&amp;lt;/code&amp;gt; prepended to the file extension.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-seg [srxFile]&amp;lt;/code&amp;gt; || The segmentation rules to utilize. To specify the default rules that come with the installation, use &amp;lt;code&amp;gt;-seg&amp;lt;/code&amp;gt; without filename. The default rules are in &amp;lt;code&amp;gt;config/defaultSegmentation.srx&amp;lt;/code&amp;gt; in your Okapi main directory.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-noalttrans&amp;lt;/code&amp;gt; || Ensures that the generated XLIFF files do not have added &amp;lt;code&amp;gt;&amp;amp;lt;alt-trans&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -lm myFile.html -tl zh&lt;br /&gt;
&lt;br /&gt;
Puts in the input file &amp;lt;code&amp;gt;myFile.html&amp;lt;/code&amp;gt; from the corresponding &amp;lt;code&amp;gt;myFile.html.zh&amp;lt;/code&amp;gt; Moses InlineText document. The source language is the default for the platform, while the target is Chinese (zh). The output file is &amp;lt;code&amp;gt;myFile.out.html&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 tikal -lm myFile.xlf -sl en -tl ja -from trans.txt -totrg&lt;br /&gt;
&lt;br /&gt;
Leverages the XLIFF file named &amp;lt;code&amp;gt;myFile.xlf&amp;lt;/code&amp;gt; in the current directory using the Moses InlineText document named &amp;lt;code&amp;gt;trans.txt&amp;lt;/code&amp;gt;. The source language is English and the target is Japanese. The output file is &amp;lt;code&amp;gt;myFile.out.xlf&amp;lt;/code&amp;gt;. The Moses translation is copied into the &amp;lt;code&amp;gt;&amp;amp;lt;target&amp;gt;&amp;lt;/code&amp;gt; elements only if the element is empty or non-existing in the source document. The &amp;lt;code&amp;gt;&amp;amp;lt;alt-trans&amp;gt;&amp;lt;/code&amp;gt; elements are added for all segments.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tikal]] [[Category:Filters]] [[Category:XLIFF]]&lt;/div&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
</feed>