Back to LanguageTool Homepage - Privacy - Imprint

New rules


(Mility) #1
 <!-- English rule, 2015-06-12 -->


<rule id="IN_JJ" name="in the jj nineteenth">    
		 <pattern>
		  <token regexp='yes'>[Ii]n</token>
		  <marker>
		  <token postag='JJ'></token>
		  </marker>
		  <token regexp='yes'>eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth</token>
		 </pattern>
		 <message>Did you mean <suggestion>the <match no ="2" /></suggestion> ?</message>
		 <example correction=''>In <marker>late</marker> nineteenth century, …</example>
		 <example>In the late nineteenth century, …</example>
		</rule>

  <!-- English rule, 2015-06-12 -->

<rule id="SUCH_JJ_NN" name="such jj nn(nns)">    
			 <pattern>
			  <token regexp='yes'>[Ss]uch</token>
			  <token min="0" postag='JJ'></token>
			  <marker>
			  <token postag='NN'></token>
			  </marker>
			 </pattern>
			 <message>Did you mean <suggestion><match no ="3" postag = "NNS"/></suggestion> ?</message>
			 <example correction=''>Such powerful <marker>device</marker> shall not be made available.</example>
			 <example>Such powerful devices shall not be made available.</example>
			</rule>

    <!-- English rule, 2015-06-12 -->

<rule id="PAY_MORE_ON" name="pay more on(for)">    
			 <pattern>
			  <token>pay</token>
			  <token>more</token>
			  <marker>
			  <token postag='IN'><exception>for</exception></token>
			  </marker>
			 </pattern>
			 <message>Did you mean <suggestion>for</suggestion> ?</message>
			 <example correction=''>They must pay more <marker>on</marker> the welfare of the old people.</example>
			 <example>They must pay more for the welfare of the old people.</example>
			</rule>

(Daniel Naber) #2

If you google for "In late nineteenth century" or "pay more on the" you'll get a very large number of results, so these seem to be quite common...


(Mility) #3

Thanks, I search In late nineteenth century in Google, most of them are with the or late in the begin of the sentence.



(Daniel Naber) #4

Try using quotes around the Google query:

"In late nineteenth century"

(Mility) #5

oh, thanks, I got it.