Revision: 6186
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6186&view=rev
Author:   dnaber
Date:     2012-01-07 22:15:53 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
[en] avoid a conflict and make rule work with the other kind of quote character

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/en/grammar.xml

Modified: trunk/JLanguageTool/src/rules/en/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/en/grammar.xml        2012-01-07 18:56:14 UTC 
(rev 6185)
+++ trunk/JLanguageTool/src/rules/en/grammar.xml        2012-01-07 22:15:53 UTC 
(rev 6186)
@@ -9083,7 +9083,7 @@
       </rule>
       <rule>
         <pattern case_sensitive="yes" mark_from="2">
-          <token>"</token>
+          <token regexp="yes">"|“</token>
           <and>
             <token inflected="yes" regexp="yes">[A-Z][a-z]+</token>
             <token regexp="yes">[a-z]+</token>
@@ -9091,8 +9091,8 @@
           <token postag="NN" regexp="yes">[a-z]+</token>
         </pattern>
         <message>The word \3 should probably be written in uppercase: 
<suggestion><match case_conversion="startupper" 
no="3"></match></suggestion>.</message>
-        <example correction="Monthly" type="incorrect">This is a story from 
"atlantic <marker>monthly</marker>".</example>
-        <example type="correct">This is a story from "The Atlantic 
Monthly".</example>
+        <example correction="Monthly" type="incorrect">This is a story from 
“atlantic <marker>monthly</marker>”.</example>
+        <example type="correct">This is a story from “The Atlantic 
Monthly”.</example>
       </rule>
       <rule>
         <pattern case_sensitive="yes">

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to