Revision: 9148
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9148&view=rev
Author:   milek_pl
Date:     2013-01-22 18:54:11 +0000 (Tue, 22 Jan 2013)
Log Message:
-----------
[en] new typo rule: ask wether (that was funny to see!)

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

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/en/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/en/grammar.xml    
    2013-01-22 18:38:19 UTC (rev 9147)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/en/grammar.xml    
    2013-01-22 18:54:11 UTC (rev 9148)
@@ -39,6 +39,18 @@
     <!-- Possible typos -->
     <!-- 
====================================================================== -->
     <category name="Possible Typos" type="misspelling">
+       <rule id="ASK_WETHER" name="ask wether/weather (whether)">
+               <pattern>
+               <token inflected="yes" skip="1" 
regexp="yes">ask|question</token>
+               <marker>
+                       <token regexp="yes">wea?ther</token>
+               </marker>
+               </pattern>
+               <message>Did you mean 
<suggestion>whether</suggestion>?</message>
+            <short>Possible typo</short>
+            <example type="correct">I asked whether it was true.</example>
+            <example type="incorrect">Don't ask me <marker>wether</marker> it 
is already decided!</example>
+       </rule>
         <rule id="UP_TO_DATA" name="up to data (date)">
             <pattern case_sensitive="yes">
                 <token>up</token>

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


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to