<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Somewhere</id>
	<title>Somewhere - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Somewhere"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Somewhere&amp;action=history"/>
	<updated>2026-06-06T09:14:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Somewhere&amp;diff=67869&amp;oldid=prev</id>
		<title>Unhammer at 09:09, 8 November 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Somewhere&amp;diff=67869&amp;oldid=prev"/>
		<updated>2018-11-08T09:09:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:09, 8 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;If we at least handle NUL&#039;s correctly in lt-proc and cg-proc,&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;If we at least handle NUL&#039;s correctly in lt-proc and cg-proc,&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;you can &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;turn&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;linebreak&lt;/del&gt;&#039;s &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;into&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NUL&#039;s&lt;/del&gt; (first deleting any existing NUL&#039;s&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;you can &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;append&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NUL&lt;/ins&gt;&#039;s &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;after&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;linebreaks&lt;/ins&gt; (first deleting any existing NUL&#039;s&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;in the corpus) and tag with the -z option to lt-/cg-proc:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;in the corpus) and tag with the -z option to lt-/cg-proc:&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    cat corpus.txt&lt;del class=&quot;diffchange diffchange-inline&quot;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    cat corpus.txt                     \&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | tr -d &#039;\0&#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    | tr -d &#039;\0&#039;                       \&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tr&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&#039;\&lt;/del&gt;n&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&#039; &#039;\0&#039;                     &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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apertium-deshtml&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;n              \&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    | sed &#039;s/\[$/[][/; s/^]/]\x00/&#039;    \&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;a class=&quot;mw-diff-movedpara-left&quot; title=&quot;Paragraph was moved. Click to jump to new location.&quot; href=&quot;#movedpara_7_0_rhs&quot;&gt;&amp;#x26AB;&lt;/a&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;&lt;a name=&quot;movedpara_5_0_lhs&quot;&gt;&lt;/a&gt;    | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;apertium-deshtml&lt;/del&gt; -&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n    &lt;/del&gt;                        \&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | lt-proc -z -w &#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;apertium-tat/&lt;/del&gt;tat.automorf.bin&#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    | lt-proc -z -w &#039;tat.automorf.bin&#039; \&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | cg-proc -z &#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;apertium-tat/&lt;/del&gt;tat.rlx.bin&#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;    | cg-proc -z&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; -w -1&lt;/ins&gt; &#039;tat.rlx.bin&#039;   \&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;a class=&quot;mw-diff-movedpara-right&quot; title=&quot;Paragraph was moved. Click to jump to old location.&quot; href=&quot;#movedpara_5_0_lhs&quot;&gt;&amp;#x26AB;&lt;/a&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&lt;a name=&quot;movedpara_7_0_rhs&quot;&gt;&lt;/a&gt;    | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tr&lt;/ins&gt; -&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;d&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&#039;\0&#039;&lt;/ins&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | cg-proc -z -w -1 &#039;apertium-tat/dev/mansur.bin&#039; \&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;    | tr &#039;\0&#039; &#039;\n&#039;                                   \&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;    | apertium-rehtml-noent&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;    | apertium-rehtml-noent&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;… finally deleting the NUL&#039;s. (Note that NUL&#039;s have to appear after the string &quot;[][\n]&quot; for tools like lt-proc to handle them correctly.)&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 class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;… finally turning NUL&#039;s back into newlines.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;similarly for full pipelines&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;similarly for full pipelines&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unhammer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Somewhere&amp;diff=67868&amp;oldid=prev</id>
		<title>Unhammer: Created page with &quot;this should go somewhere on the wiki  We should treat NUL as hard separators – if we don&#039;t, apertium-apy (and thus www.apertium.org) will risk sending output meant for perso...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Somewhere&amp;diff=67868&amp;oldid=prev"/>
		<updated>2018-11-06T21:04:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;this should go somewhere on the wiki  We should treat NUL as hard separators – if we don&amp;#039;t, apertium-apy (and thus www.apertium.org) will risk sending output meant for perso...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;this should go somewhere on the wiki&lt;br /&gt;
&lt;br /&gt;
We should treat NUL as hard separators – if we don&amp;#039;t,&lt;br /&gt;
apertium-apy (and thus www.apertium.org) will risk sending output meant&lt;br /&gt;
for person1 to person2. (I have an inkling there might still be bugs in&lt;br /&gt;
apertium-transfer related to this.)&lt;br /&gt;
&lt;br /&gt;
This also means we should be able to treat NUL&amp;#039;s as &amp;quot;record separators&amp;quot; when e.g. translating a corpus of individual sentences, where we don&amp;#039;t want one sentence to affect the translation of the next sentence.&lt;br /&gt;
&lt;br /&gt;
If we at least handle NUL&amp;#039;s correctly in lt-proc and cg-proc,&lt;br /&gt;
you can turn linebreak&amp;#039;s into NUL&amp;#039;s (first deleting any existing NUL&amp;#039;s&lt;br /&gt;
in the corpus) and tag with the -z option to lt-/cg-proc:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    cat corpus.txt                                   \&lt;br /&gt;
    | tr -d &amp;#039;\0&amp;#039;                                     \&lt;br /&gt;
    | tr &amp;#039;\n&amp;#039; &amp;#039;\0&amp;#039;                                   \&lt;br /&gt;
    | apertium-deshtml -n                            \&lt;br /&gt;
    | lt-proc -z -w &amp;#039;apertium-tat/tat.automorf.bin&amp;#039;  \&lt;br /&gt;
    | cg-proc -z &amp;#039;apertium-tat/tat.rlx.bin&amp;#039;          \&lt;br /&gt;
    | cg-proc -z -w -1 &amp;#039;apertium-tat/dev/mansur.bin&amp;#039; \&lt;br /&gt;
    | tr &amp;#039;\0&amp;#039; &amp;#039;\n&amp;#039;                                   \&lt;br /&gt;
    | apertium-rehtml-noent&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
… finally turning NUL&amp;#039;s back into newlines.&lt;br /&gt;
&lt;br /&gt;
similarly for full pipelines&lt;br /&gt;
&lt;br /&gt;
(unfortunately, /usr/bin/apertium can&amp;#039;t add the -z&amp;#039;s for you, you&amp;#039;ll have to grab the pipeline from modes/foo-bar.mode and insert -z&amp;#039;s yourself)&lt;/div&gt;</summary>
		<author><name>Unhammer</name></author>
		
	</entry>
</feed>