Revision: 7197
http://languagetool.svn.sourceforge.net/languagetool/?rev=7197&view=rev
Author: milek_pl
Date: 2012-06-02 22:09:26 +0000 (Sat, 02 Jun 2012)
Log Message:
-----------
[en] fix false alarms
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-06-02 21:59:43 UTC
(rev 7196)
+++ trunk/JLanguageTool/src/rules/en/grammar.xml 2012-06-02 22:09:26 UTC
(rev 7197)
@@ -6015,7 +6015,7 @@
<rule>
<pattern>
<token postag="SENT_START"></token>
- <token postag="NN|NN:.*" postag_regexp="yes"><exception
regexp="yes">A|In|I|No</exception><exception postag="JJ|MD|NNS|CC|WRB|IN|VB"
postag_regexp="yes"></exception></token>
+ <token postag="NN|NN:.*" postag_regexp="yes"><exception
regexp="yes">A|In|I|No</exception><exception postag="JJ|MD|NNS|CC|WRB|IN|VB"
postag_regexp="yes"></exception><exception>most</exception></token>
<marker>
<token postag="VB|VBP" postag_regexp="yes"><exception
postag="VBZ|VBN|VBD|VBG|IN|RB" postag_regexp="yes"></exception></token>
</marker>
@@ -6027,12 +6027,13 @@
<example correction="means" type="incorrect">Marketing
<marker>mean</marker> a lot of trouble.</example>
<example type="correct">Marketing is bad for you.</example>
<example type="correct">I think it is bad for you.</example>
+ <example type="correct">Most have four limbs except for
caecilians.</example>
</rule>
<rule>
<pattern>
<token postag="SENT_START"></token>
<token postag="DT"><exception
regexp="yes">these|those</exception></token>
- <token postag="NN|NN:.*" postag_regexp="yes"><exception
postag="JJ|MD|NNS" postag_regexp="yes"></exception></token>
+ <token postag="NN|NN:.*" postag_regexp="yes"><exception
postag="JJ|MD|NNS" postag_regexp="yes"></exception><exception
regexp="yes">rest|latter</exception></token>
<marker>
<token postag="VB|VBP" postag_regexp="yes"><exception
postag="VBZ|VBN|VBD|VBG|JJ" postag_regexp="yes"></exception></token>
</marker>
@@ -6044,6 +6045,7 @@
<example type="correct">The marketing is bad for you.</example>
<example type="correct">The city is an international transport
hub and a popular tourist destination.</example>
<example type="correct">Those wanting are the
Canines.</example>
+ <example type="correct">The rest are arriving later.</example>
<!-- example type="incorrect">The city is
popular, and this marketing <marker>are</marker> bad for
you.</example -->
</rule>
</rulegroup>
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