Revision: 7701
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7701&view=rev
Author:   milek_pl
Date:     2012-07-14 10:51:17 +0000 (Sat, 14 Jul 2012)
Log Message:
-----------
[en] fix sf bug #3543914

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-07-13 15:07:17 UTC 
(rev 7700)
+++ trunk/JLanguageTool/src/rules/en/grammar.xml        2012-07-14 10:51:17 UTC 
(rev 7701)
@@ -6156,7 +6156,7 @@
         <rulegroup id="BEEN_PART_AGREEMENT" name="Agreement: 'been' or 'was' + 
past tense">
             <rule>
                 <pattern>
-                    <token regexp="yes">been|was|were|is|are|am</token>
+                    <token regexp="yes">been|was|were|is|are|am<exception 
scope="previous" postag_regexp="yes" postag="VBP?" negate="yes" 
regexp="yes">have|has</exception></token>
                     <marker>
                         <token postag="VBD|VBP|VB" 
postag_regexp="yes"><exception postag="VBN|NN:U.*|JJ.*|RB|IN" 
postag_regexp="yes"></exception><exception 
regexp="yes">are|am</exception></token>
                     </marker>
@@ -6171,10 +6171,11 @@
                 <example type="correct">It has been done.</example>
                 <example type="correct">It has been love's whip.</example>
                 <example type="incorrect">He has been <marker>did</marker> 
this.</example>
+                <example type="correct">All you have to do is go and 
ask.</example>
             </rule>
             <rule>
                 <pattern>
-                    <token regexp="yes">been|was|were|is|are|am</token>
+                    <token regexp="yes">been|was|were|is|are|am<exception 
scope="previous" postag_regexp="yes" postag="VBP?" negate="yes" 
regexp="yes">have|has</exception></token>
                     <token postag="RB"><exception>in</exception><exception 
postag="VBN|JJ.*|CC" postag_regexp="yes"></exception></token>
                     <marker>
                         <token postag="VBD|VBP|VB" 
postag_regexp="yes"><exception postag="VBN|JJ.*|IN|RB" 
postag_regexp="yes"></exception></token>

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to