Revision: 10076
          http://sourceforge.net/p/languagetool/code/10076
Author:   dnaber
Date:     2013-05-12 20:36:37 +0000 (Sun, 12 May 2013)
Log Message:
-----------
[en] new rule: "on of the best" -> "one of the best"

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml

Modified: 
trunk/languagetool/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml
        2013-05-12 20:33:37 UTC (rev 10075)
+++ 
trunk/languagetool/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml
        2013-05-12 20:36:37 UTC (rev 10076)
@@ -39,6 +39,17 @@
     <!-- Possible typos -->
     <!-- 
====================================================================== -->
     <category name="Possible Typos" type="misspelling">
+        <rule id="ON_OF_THE" name="one (one) of the most/least/...">
+            <pattern>
+                <token>on</token>
+                <token>of</token>
+                <token>the</token>
+                <token regexp="yes">more|most|less|least|best|worst</token>
+            </pattern>
+            <message>Did you mean <suggestion>one</suggestion>?</message>
+            <example type="incorrect" correction="one">It's <marker>on of the 
most</marker> popular songs.</example>
+            <example type="correct">It's <marker>one</marker> of the most 
popular songs.</example>
+        </rule>
        <rule id="ASK_WETHER" name="ask wether/weather (whether)">
                <pattern>
                <token inflected="yes" skip="1" 
regexp="yes">ask|question</token>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to