<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://unlarchive.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Difference_between_N-rules_and_L-rules</id>
	<title>Difference between N-rules and L-rules - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://unlarchive.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Difference_between_N-rules_and_L-rules"/>
	<link rel="alternate" type="text/html" href="https://unlarchive.org/wiki/index.php?title=Difference_between_N-rules_and_L-rules&amp;action=history"/>
	<updated>2026-06-15T14:55:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://unlarchive.org/wiki/index.php?title=Difference_between_N-rules_and_L-rules&amp;diff=16095&amp;oldid=prev</id>
		<title>imported&gt;Martins at 19:40, 21 August 2013</title>
		<link rel="alternate" type="text/html" href="https://unlarchive.org/wiki/index.php?title=Difference_between_N-rules_and_L-rules&amp;diff=16095&amp;oldid=prev"/>
		<updated>2013-08-21T19:40:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[N-rule]]s and [[L-rule]]s are basically the same. The only difference is that L-rules are part of the Transformation Grammar and, therefore, applies &amp;#039;&amp;#039;&amp;#039;after&amp;#039;&amp;#039;&amp;#039; [[tokenization]], whereas N-rules constitute the N-grammar, and apply &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; tokenization.  This means that N-rules may only deal with strings or regular expressions, whereas L-rules may also deal with other elements (such as features and UW&amp;#039;s):&lt;br /&gt;
*L-rule&lt;br /&gt;
**(&amp;quot;I&amp;quot;)(BLK)(&amp;quot;am&amp;quot;):=(&amp;quot;I&amp;#039;m&amp;quot;); (I am&amp;gt;I&amp;#039;m)&lt;br /&gt;
**(&amp;quot;a&amp;quot;,PRE)(BLK)(&amp;quot;a&amp;quot;,ART):=(&amp;quot;à&amp;quot;,+ART,+CTC); (a a&amp;gt;à)&lt;br /&gt;
**(&amp;quot;de&amp;quot;,PRE)(BLK)(&amp;quot;le&amp;quot;,ART):=(&amp;quot;du&amp;quot;,+ART,+CTC); (de le&amp;gt;du)&lt;br /&gt;
*N-rule&lt;br /&gt;
**(&amp;quot;I&amp;quot;)(&amp;quot; &amp;quot;)(&amp;quot;am&amp;quot;):=(&amp;quot;I&amp;#039;m&amp;quot;); (replace &amp;quot;I am&amp;quot; by &amp;quot;I&amp;#039;m&amp;quot;)&lt;br /&gt;
Note, in the above, that we may use dictionary features (such as BLK, PRE, ART) in L-rules, but we cannot use any dictionary feature in N-rules. The only features available in N-rules are the system-defined features, such as SHEAD (beginning of the sentence) and STAIL (end of the sentence).&lt;/div&gt;</summary>
		<author><name>imported&gt;Martins</name></author>
	</entry>
</feed>