<?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=Talk%3AReordering_superblanks</id>
	<title>Talk:Reordering superblanks - 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=Talk%3AReordering_superblanks"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;action=history"/>
	<updated>2026-05-29T23:45:39Z</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=Talk:Reordering_superblanks&amp;diff=48536&amp;oldid=prev</id>
		<title>Unhammer at 09:10, 26 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48536&amp;oldid=prev"/>
		<updated>2014-05-26T09:10:57Z</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:10, 26 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;==Should we &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;let&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rules&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;deal&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;superblanks&lt;/del&gt; in t2x/t3x?==&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;==Should we &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;allow&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;outputting&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;superblanks&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;between&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chunks&lt;/ins&gt; in t2x/t3x?==&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;To deal with t2x/chunk-reordering issues &quot;Transfer modules should ignore &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; elements, outputting non-inline blanks before rules&quot;. But after chunking, it should be fine to let the rule writer manually output b elements&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;To deal with t2x/chunk-reordering issues &quot;Transfer modules should ignore &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; elements, outputting non-inline blanks before rules&quot;. But after chunking, it should be fine to let the rule writer manually output b elements&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; since now they can&#039;t be reordered wrongly in later steps.&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 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;But then the rule writer has to do manual blank handling again&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;,&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;we&lt;/del&gt; should avoid this.&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;But then the rule writer has to do manual blank handling again&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;We&lt;/ins&gt; should avoid this.&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;div&gt;However, we could mechanically output regular superblanks in between chunks.&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;However, we could mechanically output regular superblanks in between chunks.&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=Talk:Reordering_superblanks&amp;diff=48535&amp;oldid=prev</id>
		<title>Unhammer at 09:10, 26 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48535&amp;oldid=prev"/>
		<updated>2014-05-26T09:10:03Z</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:10, 26 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Ensuring&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;transfer&lt;/del&gt; rules &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;all regular&lt;/del&gt; superblanks==&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;Should&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;we let&lt;/ins&gt; rules &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;deal&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;with&lt;/ins&gt; superblanks&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; in t2x/t3x?&lt;/ins&gt;==&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;To deal with t2x/chunk-reordering issues &quot;Transfer modules should ignore &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; elements, outputting non-inline blanks before rules&quot;. But after chunking, it should be fine to let the rule writer manually output b elements?&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;Transfer rules some times forget to include all (regular) superblanks from the input (see earlier [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ discussion from 2009]). This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;1&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;2&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;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;&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;But then the rule writer has to do manual blank handling again, we should avoid this.&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_6_3_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;This&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;could be done mechanically by transfer at runtime instead of by the rule writer. Any&lt;/del&gt; rule will match a certain number of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lu&#039;s&lt;/del&gt;, with one (super)blank between each &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lu&lt;/del&gt; (currently available in the b elements), and the action part will output a certain number of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lu&#039;s&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 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;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;However, we could mechanically output regular superblanks in between chunks.&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;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;&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_6_3_rhs&quot;&gt;&lt;/a&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Any&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;t2x&lt;/ins&gt; rule will match a certain number of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chunks&lt;/ins&gt;, with one (super)blank between each &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chunk&lt;/ins&gt; (currently available in the b elements), and the action part will output a certain number of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chunks&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;* For a 1-pattern rule, there can be no superblanks between patterns, so there are no superblanks to output. This is the simple case.&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;* For a 1-pattern rule, there can be no superblanks between patterns, so there are no superblanks to output. This is the simple case.&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;* For a 2-pattern rule, there is exactly one superblank between patterns. Now we have to run the rule, and look at the output before printing it.&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;* For a 2-pattern rule, there is exactly one superblank between patterns. Now we have to run the rule, and look at the output before printing it.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;** Read the second chunk, print that chunk, print the second superblank&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;** Read the second chunk, print that chunk, print the second superblank&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;** Etc. until all chunks are read, print remaining superblanks.&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;** Etc. until all chunks are read, print remaining superblanks.&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;br /&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;This can be made backwards compatible with existing rule files, by simply ignoring any existing &amp;amp;lt;b&amp;amp;gt; elements that have the pos attribute.&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;br /&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;However, this solution does &#039;&#039;&#039;not&#039;&#039;&#039; help with the blanks-in-chunks problem. The [[Reordering superblanks#Possible solution]], however, would.&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;/table&gt;</summary>
		<author><name>Unhammer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48534&amp;oldid=prev</id>
		<title>Unhammer at 09:05, 26 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48534&amp;oldid=prev"/>
		<updated>2014-05-26T09:05:43Z</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:05, 26 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;==Ensuring transfer rules output all regular superblanks==&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;==Ensuring transfer rules output all regular superblanks==&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;A&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;separate,&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;but&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;related&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;problem&lt;/del&gt; (see earlier [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ discussion from 2009])&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; is that transfer rules some times forget to include all (regular) superblanks from the input&lt;/del&gt;. This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;1&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;2&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Transfer&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;rules&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;some&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;times&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;forget to include all (regular) superblanks from the input&lt;/ins&gt; (see earlier [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ discussion from 2009]). This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;1&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;2&quot;/&amp;gt;&amp;lt;/nowiki&amp;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;&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;This could be done mechanically by transfer at runtime instead of by the rule writer. Any rule will match a certain number of lu&#039;s, with one (super)blank between each lu (currently available in the b elements), and the action part will output a certain number of lu&#039;s.&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;This could be done mechanically by transfer at runtime instead of by the rule writer. Any rule will match a certain number of lu&#039;s, with one (super)blank between each lu (currently available in the b elements), and the action part will output a certain number of lu&#039;s.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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;This can be made backwards compatible with existing rule files, by simply ignoring any existing &amp;amp;lt;b&amp;amp;gt; elements that have the pos attribute.&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;This can be made backwards compatible with existing rule files, by simply ignoring any existing &amp;amp;lt;b&amp;amp;gt; elements that have the pos attribute.&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; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;However, this solution does not help with the blanks-in-chunks problem. The [[Reordering superblanks#Possible solution]], however, would.&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;However, this solution does &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;not&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt; help with the blanks-in-chunks problem. The [[Reordering superblanks#Possible solution]], however, would.&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=Talk:Reordering_superblanks&amp;diff=48526&amp;oldid=prev</id>
		<title>Unhammer at 08:44, 26 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48526&amp;oldid=prev"/>
		<updated>2014-05-26T08:44:27Z</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 08:44, 26 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;==Ensuring transfer rules output all regular superblanks==&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;==Ensuring transfer rules output all regular superblanks==&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;A separate, but related problem is that transfer rules some times forget to include all (regular) superblanks from the input. This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;1&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;2&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&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 class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;A separate, but related problem&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; (see earlier [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ discussion from 2009])&lt;/ins&gt; is that transfer rules some times forget to include all (regular) superblanks from the input. This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;N&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;1&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&quot;2&quot;/&amp;gt;&amp;lt;/nowiki&amp;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;&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;This could be done mechanically by transfer at runtime instead of by the rule writer. Any rule will match a certain number of lu&#039;s, with one (super)blank between each lu (currently available in the b elements), and the action part will output a certain number of lu&#039;s.&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;This could be done mechanically by transfer at runtime instead of by the rule writer. Any rule will match a certain number of lu&#039;s, with one (super)blank between each lu (currently available in the b elements), and the action part will output a certain number of lu&#039;s.&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=Talk:Reordering_superblanks&amp;diff=48525&amp;oldid=prev</id>
		<title>Unhammer: Created page with &quot;==Ensuring transfer rules output all regular superblanks== A separate, but related problem is that transfer rules some times forget to include all (regular) superblanks from t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Reordering_superblanks&amp;diff=48525&amp;oldid=prev"/>
		<updated>2014-05-26T08:43:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Ensuring transfer rules output all regular superblanks== A separate, but related problem is that transfer rules some times forget to include all (regular) superblanks from t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Ensuring transfer rules output all regular superblanks==&lt;br /&gt;
A separate, but related problem is that transfer rules some times forget to include all (regular) superblanks from the input. This can of course mess up HTML, and it is frustrating that the developer has to ensure all rules have the right number of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&amp;quot;N&amp;quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, e.g. for a three-lu pattern we need to output both &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&amp;quot;1&amp;quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b pos=&amp;quot;2&amp;quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This could be done mechanically by transfer at runtime instead of by the rule writer. Any rule will match a certain number of lu&amp;#039;s, with one (super)blank between each lu (currently available in the b elements), and the action part will output a certain number of lu&amp;#039;s.&lt;br /&gt;
* For a 1-pattern rule, there can be no superblanks between patterns, so there are no superblanks to output. This is the simple case.&lt;br /&gt;
* For a 2-pattern rule, there is exactly one superblank between patterns. Now we have to run the rule, and look at the output before printing it.&lt;br /&gt;
** If output contains zero or one chunks, put the superblank after the output.&lt;br /&gt;
** If output contains two or more chunks, put the superblank after the first chunk.&lt;br /&gt;
* Generalising this, look at the output, and interleave chunks and superblanks, that is:&lt;br /&gt;
** Read the first chunk, print that chunk, print the first superblank&lt;br /&gt;
** Read the second chunk, print that chunk, print the second superblank&lt;br /&gt;
** Etc. until all chunks are read, print remaining superblanks.&lt;br /&gt;
&lt;br /&gt;
This can be made backwards compatible with existing rule files, by simply ignoring any existing &amp;amp;lt;b&amp;amp;gt; elements that have the pos attribute.&lt;br /&gt;
&lt;br /&gt;
However, this solution does not help with the blanks-in-chunks problem. The [[Reordering superblanks#Possible solution]], however, would.&lt;/div&gt;</summary>
		<author><name>Unhammer</name></author>
		
	</entry>
</feed>