<?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=Reordering_superblanks</id>
	<title>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=Reordering_superblanks"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;action=history"/>
	<updated>2026-05-05T18:37:50Z</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=Reordering_superblanks&amp;diff=72431&amp;oldid=prev</id>
		<title>Tino Didriksen: /* Possible solution */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=72431&amp;oldid=prev"/>
		<updated>2020-06-21T18:32:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Possible solution&lt;/span&gt;&lt;/span&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 18:32, 21 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&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;==Possible solution==&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;==Possible solution==&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;[[User:Tino Didriksen]]&#039;s post at &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;comments&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gmane&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gmane&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;comp&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nlp.apertium&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3921&lt;/del&gt; outlines a solution (a closely-related solution, with some additional details, is described in [[User:Mlforcada]]&#039;s entry on a [[Ideas_for_Google_Summer_of_Code/superblank_handling_algorithm]]).&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;[[User:Tino Didriksen]]&#039;s post at &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;www&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mail-archive&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apertium-stuff@lists&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sourceforge&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;net&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;msg04449.html&lt;/ins&gt; outlines a solution (a closely-related solution, with some additional details, is described in [[User:Mlforcada]]&#039;s entry on a [[Ideas_for_Google_Summer_of_Code/superblank_handling_algorithm]]).&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;For each format, we need a list of &#039;&#039;&#039;inline/wordbound tags&#039;&#039;&#039;; for HTML this would include &amp;amp;lt;b&amp;amp;gt;, &amp;amp;lt;i&amp;amp;gt; and so on. &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 each format, we need a list of &#039;&#039;&#039;inline/wordbound tags&#039;&#039;&#039;; for HTML this would include &amp;amp;lt;b&amp;amp;gt;, &amp;amp;lt;i&amp;amp;gt; and so on. &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tino Didriksen</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=72268&amp;oldid=prev</id>
		<title>Tino Didriksen: Fix nowiki tag</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=72268&amp;oldid=prev"/>
		<updated>2020-05-26T15:22:59Z</updated>

		<summary type="html">&lt;p&gt;Fix nowiki tag&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 15:22, 26 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&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;#* All &#039;&#039;&#039;regular superblanks&#039;&#039;&#039; are output before the rule-output&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;#* All &#039;&#039;&#039;regular superblanks&#039;&#039;&#039; are output before the rule-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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;#** This means they cannot be reordered or deleted, solving the t2x/chunk-reordering issue mentioned above.  This also deals with the [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ issue mentioned by Sergio] that transfer rule writers forget to output b elements, or output them in the wrong order.&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 means they cannot be reordered or deleted, solving the t2x/chunk-reordering issue mentioned above.  This also deals with the [https://sourceforge.net/p/apertium/mailman/apertium-stuff/thread/20cf28cd0904300204v45f35e51i118f4d146f83748@mail.gmail.com/ issue mentioned by Sergio] that transfer rule writers forget to output b elements, or output them in the wrong order.&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;#* Regular unmarked blanks, &#039;&#039;&#039;freeblanks&#039;&#039;&#039; (spaces, etc that are not inside &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[]&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;code&lt;/del&gt;&amp;gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nowiki&lt;/del&gt;&amp;gt;) which are immediately before a word are output whenever there&#039;s a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the rule; each such blank is output exactly once. If they&#039;re not used up by b-elements in the rule, the remaining freeblanks are output after the rule output. Thus we output all and only those unanalysed chars that were in the input, and in the same order.&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;#* Regular unmarked blanks, &#039;&#039;&#039;freeblanks&#039;&#039;&#039; (spaces, etc that are not inside &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[]&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nowiki&lt;/ins&gt;&amp;gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;code&lt;/ins&gt;&amp;gt;) which are immediately before a word are output whenever there&#039;s a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the rule; each such blank is output exactly once. If they&#039;re not used up by b-elements in the rule, the remaining freeblanks are output after the rule output. Thus we output all and only those unanalysed chars that were in the input, and in the same order.&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;#** The pos=&quot;N&quot; in &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; no longer has any significance and is ignored.&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;#** The pos=&quot;N&quot; in &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; no longer has any significance and is ignored.&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tino Didriksen</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=63155&amp;oldid=prev</id>
		<title>Unhammer: /* Problems */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=63155&amp;oldid=prev"/>
		<updated>2017-05-30T09:33:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Problems&lt;/span&gt;&lt;/span&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:33, 30 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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 class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&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;&amp;lt;/pre&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;div&gt;The t2x rules may have completely &quot;correct&quot; blank handling in that they output all input superblanks in the correct order, but they have no way of looking at the blanks that are inside the chunks, so they reorder them wrongly.&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;The t2x rules may have completely &quot;correct&quot; blank handling in that they output all input superblanks in the correct order, but they have no way of looking at the blanks that are inside the chunks, so they reorder them wrongly.&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; 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;This is important to people: &amp;lt;blockquote cite=&quot;@tarfandy&quot;&amp;gt;People in the real world don&#039;t care about a tiny increase in BLEU score; they want tags handled properly! #eamt2017&amp;lt;br/&amp;gt;https://twitter.com/tarfandy/status/869195419494096897&amp;lt;/blockquote&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;==Possible solution==&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;==Possible solution==&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=Reordering_superblanks&amp;diff=61869&amp;oldid=prev</id>
		<title>Unhammer: /* Closing inline-blanks */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=61869&amp;oldid=prev"/>
		<updated>2017-03-20T10:30:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Closing inline-blanks&lt;/span&gt;&lt;/span&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 10:30, 20 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&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;===Closing inline-blanks===&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;===Closing inline-blanks===&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_3_1_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_1_0_lhs&quot;&gt;&lt;/a&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;From&lt;/del&gt; https://github.com/junaidiiith/Apertium_Code/issues/7 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, archived in case that goes away:&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;&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;Consider the html input &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. This may be tokenised by lt-proc as &quot;de jour&quot; and &quot;?&quot; (with the apertium-deshtml|lt-proc we get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;i&amp;gt;]^de jour/de jour&amp;lt;adv&amp;gt;$^?/?&amp;lt;sent&amp;gt;$[&amp;lt;\/i&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, but our deformatter doesn&#039;t (and can&#039;t) know where the token borders are.&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;Consider the html input &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. This may be tokenised by lt-proc as &quot;de jour&quot; and &quot;?&quot; (with the apertium-deshtml|lt-proc we get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;i&amp;gt;]^de jour/de jour&amp;lt;adv&amp;gt;$^?/?&amp;lt;sent&amp;gt;$[&amp;lt;\/i&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, but our deformatter doesn&#039;t (and can&#039;t) know where the token borders are.&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 88:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 87:&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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de&amp;lt;/i&amp;gt; jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de[] jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;av&amp;lt;/i&amp;gt; dagen? Ja&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de&amp;lt;/i&amp;gt; jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de[] jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;av&amp;lt;/i&amp;gt; dagen? Ja&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;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Yes&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de jour?[&amp;lt;div&amp;gt;]Yes[&amp;lt;/div&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;dagens?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Ja&amp;lt;/div&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;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Yes&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de jour?[&amp;lt;div&amp;gt;]Yes[&amp;lt;/div&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;dagens?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Ja&amp;lt;/div&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 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_1_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_3_1_rhs&quot;&gt;&lt;/a&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(Originally discussed at&lt;/ins&gt; https://github.com/junaidiiith/Apertium_Code/issues/7 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&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;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;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, this should only matter when we&#039;re at the &quot;edges&quot; of the pipeline. When a word is tokenised, we know that an inline blank stops having effect on seeing the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. So e.g. pretransfer and transfer don&#039;t have to put a [] after every single token.&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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;The rule: inline blanks have effect until the next superblank or the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; of a token.&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;==Implementation(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;==Implementation(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=Reordering_superblanks&amp;diff=61868&amp;oldid=prev</id>
		<title>Unhammer: /* Possible solution */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=61868&amp;oldid=prev"/>
		<updated>2017-03-20T10:24:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Possible solution&lt;/span&gt;&lt;/span&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 10:24, 20 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not); see &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;https://github.com/junaidiiith/Apertium_Code/issues/7&lt;/del&gt; for more examples.&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not); see &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[#Closing inline-blanks]]&lt;/ins&gt; for more examples.&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; 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;===Closing inline-blanks===&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;From https://github.com/junaidiiith/Apertium_Code/issues/7 , archived in case that goes away:&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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;Consider the html input &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. This may be tokenised by lt-proc as &quot;de jour&quot; and &quot;?&quot; (with the apertium-deshtml|lt-proc we get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;i&amp;gt;]^de jour/de jour&amp;lt;adv&amp;gt;$^?/?&amp;lt;sent&amp;gt;$[&amp;lt;\/i&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, but our deformatter doesn&#039;t (and can&#039;t) know where the token borders are.&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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;If we turn this into &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de [{&amp;lt;i&amp;gt;}]jour?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; then lt-proc will fail to notice the multiword expression (since there&#039;s more than just a simple space in between); it&#039;ll basically break all formatted multiwords. &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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;But what&#039;s worse is the &quot;?&quot; – if we just &quot;split on spaces&quot; and turn &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;foo?&amp;lt;/i&amp;gt; Bar&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; into  &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]foo? Bar&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; , how does lt-proc know that it&#039;s supposed to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]^foo/foo&amp;lt;ij&amp;gt;$[{&amp;lt;i&amp;gt;}]^?/?&amp;lt;sent&amp;gt;$ ^Bar/Bar&amp;lt;n&amp;gt;$&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and not &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]^foo/foo&amp;lt;ij&amp;gt;$^?/?&amp;lt;sent&amp;gt;$ ^Bar/Bar&amp;lt;n&amp;gt;$&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;? (How does it know that the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; also is in italics?).&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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;This is also an issue in generation – if the end of the pipeline is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; we don&#039;t know if that&#039;s &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&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 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;The simplest solution is that we treat inline blanks as unclosed until the next &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. So when we reach the end-tag &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we have to we have to start on a superblank, even if the next character is a non-blank (if it is, we immediately close the superblank). So&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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt; Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de jour?[] Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;dagens?&amp;lt;/i&amp;gt; Ja&amp;lt;/nowiki&amp;gt;&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-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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour&amp;lt;/i&amp;gt;? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de jour[]? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;dagens&amp;lt;/i&amp;gt;? Ja&amp;lt;/nowiki&amp;gt;&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-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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de&amp;lt;/i&amp;gt; jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de[] jour? Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;av&amp;lt;/i&amp;gt; dagen? Ja&amp;lt;/nowiki&amp;gt;&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-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;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;de jour?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Yes&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →deform→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]de jour?[&amp;lt;div&amp;gt;]Yes[&amp;lt;/div&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →translate→ &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;i&amp;gt;dagens?&amp;lt;/i&amp;gt;&amp;lt;div&amp;gt;Ja&amp;lt;/div&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;==Implementation(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;==Implementation(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=Reordering_superblanks&amp;diff=61798&amp;oldid=prev</id>
		<title>Unhammer: /* See also */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=61798&amp;oldid=prev"/>
		<updated>2017-03-17T13:27:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/span&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 13:27, 17 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&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;==See also==&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;==See also==&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;* [[Ideas_for_Google_Summer_of_Code/Automatic_blank_handling]]&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;* [[Format handling]]&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;* [[Format handling]]&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;* https://www.mediawiki.org/wiki/Content_translation/Markup#Annotation_mapping_using_translation_subsequence_approximation how mediawiki bravely works around Apertium&#039;s limitations&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;* https://www.mediawiki.org/wiki/Content_translation/Markup#Annotation_mapping_using_translation_subsequence_approximation how mediawiki bravely works around Apertium&#039;s limitations&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=Reordering_superblanks&amp;diff=59363&amp;oldid=prev</id>
		<title>Junzay: /* Implementation(s) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=59363&amp;oldid=prev"/>
		<updated>2016-08-03T14:09:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Implementation(s)&lt;/span&gt;&lt;/span&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 14:09, 3 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&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;==Implementation(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;==Implementation(s)==&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;* https://github.com/junaidiiith/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Apertium_Code&lt;/del&gt;/ GsoC2016 project&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;* https://github.com/junaidiiith/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apertium&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tree/blank-handling&lt;/ins&gt; GsoC2016 project&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;* https://github.com/unhammer/apertium/tree/blank-handling older, unfinished implementation of the changes required in apertium-transfer, with notes at https://github.com/unhammer/apertium/blob/blank-handling/blank_notes.org#consequences-of-this-type-of-blank-handling&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;* https://github.com/unhammer/apertium/tree/blank-handling older, unfinished implementation of the changes required in apertium-transfer, with notes at https://github.com/unhammer/apertium/blob/blank-handling/blank_notes.org#consequences-of-this-type-of-blank-handling&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;/table&gt;</summary>
		<author><name>Junzay</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=59042&amp;oldid=prev</id>
		<title>Unhammer: /* See also */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=59042&amp;oldid=prev"/>
		<updated>2016-06-28T20:00:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/span&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 20:00, 28 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not); see https://github.com/junaidiiith/Apertium_Code/issues/7 for more examples.&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not); see https://github.com/junaidiiith/Apertium_Code/issues/7 for more examples.&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; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;==Implementation(s)==&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;* https://github.com/junaidiiith/Apertium_Code/ GsoC2016 project&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;* https://github.com/unhammer/apertium/tree/blank-handling older, unfinished implementation of the changes required in apertium-transfer, with notes at https://github.com/unhammer/apertium/blob/blank-handling/blank_notes.org#consequences-of-this-type-of-blank-handling&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;==See also==&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;==See also==&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=Reordering_superblanks&amp;diff=58186&amp;oldid=prev</id>
		<title>Unhammer: /* Possible solution */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=58186&amp;oldid=prev"/>
		<updated>2016-05-25T08:38:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Possible solution&lt;/span&gt;&lt;/span&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:38, 25 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not).&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;# The reformatter also needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar[]!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (or vice versa) – similarly, for the tokenise-as-you-analyse to know how to distribute inline blanks on the correct tokens: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; see https://github.com/junaidiiith/Apertium_Code/issues/7 for more examples&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;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;==See also==&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;==See also==&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=Reordering_superblanks&amp;diff=58185&amp;oldid=prev</id>
		<title>Unhammer: /* Possible solution */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Reordering_superblanks&amp;diff=58185&amp;oldid=prev"/>
		<updated>2016-05-25T08:29:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Possible solution&lt;/span&gt;&lt;/span&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:29, 25 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&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;# Each deformatter needs a list of which tags need the inline treatment&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;# Each deformatter needs a list of which tags need the inline treatment&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;# Deformatters have to turn &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;foo&amp;lt;/i&amp;gt; bar&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; into something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;p&amp;gt;][{&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;}]foo [{&amp;lt;b&amp;gt;}]bar[&amp;lt;/p&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;# Deformatters have to turn &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;foo&amp;lt;/i&amp;gt; bar&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; into something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[&amp;lt;p&amp;gt;][{&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;}]foo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[]&lt;/ins&gt; [{&amp;lt;b&amp;gt;}]bar[&amp;lt;/p&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;div&gt;#* As it is, {} is escaped in regular superblanks, so an unescaped {} inside [] would have this special inline-blank meaning.&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;#* As it is, {} is escaped in regular superblanks, so an unescaped {} inside [] would have this special inline-blank meaning.&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 avoid ambiguity with multiwords and inconditionals, an inline-blank is closed by the nearest following (possibly empty) &amp;lt;code&amp;gt;&amp;lt;nowiki&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;a class=&quot;mw-diff-movedpara-left&quot; title=&quot;Paragraph was moved. Click to jump to new location.&quot; href=&quot;#movedpara_6_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_4_0_lhs&quot;&gt;&lt;/a&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Also,&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;reformatters&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;need&lt;/del&gt; to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;close&lt;/del&gt; the tags &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;again&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;turning&lt;/del&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[&amp;lt;p&amp;gt;]&lt;/del&gt;[{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/del&gt;&amp;lt;i&amp;gt;}]foo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; [{&lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}]&lt;/del&gt;bar&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/p&lt;/del&gt;&amp;gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; into &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;&lt;/del&gt;&amp;lt;i&amp;gt;foo&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/i&amp;gt;&amp;lt;/b&lt;/del&gt;&amp;gt; &amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b&lt;/del&gt;&amp;gt;bar&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/b&amp;gt;&amp;lt;/p&lt;/del&gt;&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; 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;Pretransfer&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;will&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;have&lt;/del&gt; to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;distribute&lt;/del&gt; the tags &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;when splitting&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;so&lt;/del&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;^&lt;/del&gt;foo&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;vblex&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;+&lt;/del&gt;bar&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;prn&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# fie$&lt;/del&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; turns&lt;/del&gt; into &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[{&lt;/del&gt;&amp;lt;i&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}]^&lt;/del&gt;foo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# fie&lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;vblex&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[{&lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;i&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}]^&lt;/del&gt;bar&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;prn&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/del&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;*&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Also,&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;reformatters&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;need&lt;/ins&gt; to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;close&lt;/ins&gt; the tags &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;again&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;turning&lt;/ins&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&amp;lt;p&amp;gt;]&lt;/ins&gt;[{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;&amp;lt;i&amp;gt;}]foo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[] [{&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;b&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}]&lt;/ins&gt;bar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/p&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; into &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;&lt;/ins&gt;&amp;lt;i&amp;gt;foo&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/i&amp;gt;&amp;lt;/b&lt;/ins&gt;&amp;gt; &amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;b&lt;/ins&gt;&amp;gt;bar&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/b&amp;gt;&amp;lt;/p&lt;/ins&gt;&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 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_4_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_0_rhs&quot;&gt;&lt;/a&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pretransfer&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;will&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;have&lt;/ins&gt; to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;distribute&lt;/ins&gt; the tags &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;when splitting&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;so&lt;/ins&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;i&amp;gt;}]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;^&lt;/ins&gt;foo&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vblex&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;+&lt;/ins&gt;bar&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;prn&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;# fie$[&lt;/ins&gt;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; turns&lt;/ins&gt; into &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[{&lt;/ins&gt;&amp;lt;i&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}]^&lt;/ins&gt;foo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;# fie&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vblex&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[{&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;i&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}]^&lt;/ins&gt;bar&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;prn&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$[]&lt;/ins&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;div&gt;# Transfer modules have to treat the inline-blanks differently from other 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;# Transfer modules have to treat the inline-blanks differently from other superblanks&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;#* All &#039;&#039;&#039;regular superblanks&#039;&#039;&#039; are output before the rule-output&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;#* All &#039;&#039;&#039;regular superblanks&#039;&#039;&#039; are output before the rule-output&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 68:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#* Inline &#039;&#039;&#039;format blanks&#039;&#039;&#039; are output before each &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;lu/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Since they may be reordered, split or duplicated in the output, we look at the clips to find out which formatblank goes before which lu. So if e.g. the rule is about to output &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;clip pos=&quot;1&quot; part=&quot;lemh&quot;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, we might use the inline-blank (if any) from the first word, We use a prioritised list, so prefer part=&quot;lemh&quot; over part=&quot;tags&quot;, and the rule writer may override this by giving a position in the lu-attribute blankfrom.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;#** Note that if a word is deleted, we should be fine; removing an inline blank will not mess up HTML etc.&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;# The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;generator&lt;/del&gt; needs&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; to output with delimiters for the reformatter&lt;/del&gt; to know where to close the tags&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, e.g. using lt-proc -l or similar&lt;/del&gt;. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;^&lt;/del&gt;foo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/del&gt; [{&amp;lt;b&amp;gt;}]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;^&lt;/del&gt;bar&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$^&lt;/del&gt;!&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/del&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Alternatively,&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;empty&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;superblank&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;where&lt;/del&gt; the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;end&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tag&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;should&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;be;&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;could&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;also&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;solve&lt;/del&gt; the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;analysis&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;problem of&lt;/del&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not).&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;# The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;reformatter also&lt;/ins&gt; needs to know where to close the tags. We can&#039;t just close the tags on whitespace, since we can have inconditionals and multiwords. So we need the end of the pipeline to be something like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo [{&amp;lt;b&amp;gt;}]bar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[]&lt;/ins&gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so we can get &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar&amp;lt;/b&amp;gt;!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foo &amp;lt;b&amp;gt;bar!&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(or&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vice&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;versa)&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;–&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;similarly,&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;for&lt;/ins&gt; the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tokenise-as-you-analyse&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;know&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;how&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;distribute&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;inline&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;blanks on&lt;/ins&gt; the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;correct&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tokens:&lt;/ins&gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo&amp;lt;/b&amp;gt;?&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;b&amp;gt;foo?&amp;lt;/b&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (if lt-proc sees just the opening tag, it doesn&#039;t know if the &quot;!&quot; should have a preceding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[{&amp;lt;b&amp;gt;}]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or not).&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;==See also==&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;==See also==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unhammer</name></author>
		
	</entry>
</feed>