Revision: 7166
http://languagetool.svn.sourceforge.net/languagetool/?rev=7166&view=rev
Author: milek_pl
Date: 2012-06-02 11:30:17 +0000 (Sat, 02 Jun 2012)
Log Message:
-----------
[en] fix false alarm for "1 hour"
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 11:07:42 UTC
(rev 7165)
+++ trunk/JLanguageTool/src/rules/en/grammar.xml 2012-06-02 11:30:17 UTC
(rev 7166)
@@ -7790,7 +7790,7 @@
<rule id="CD_NN" name="Possible agreement error: numeral + singular
countable noun">
<pattern>
<marker>
- <token postag="CD"><exception
regexp="yes">one|thou|zero</exception></token>
+ <token postag="CD"><exception
regexp="yes">one|thou|zero|1</exception></token>
<token postag="NN:UN|NN" postag_regexp="yes"><exception
postag="NN:U|NNS|NNPS|JJ.*|IN"
postag_regexp="yes"></exception><exception>will</exception></token>
</marker>
<token><exception postag="NN.*"
postag_regexp="yes"></exception><exception>'</exception></token>
@@ -7800,6 +7800,7 @@
<example correction="five books" type="incorrect">I have
<marker>five book</marker>.</example>
<example type="correct">I have <marker>ten
books</marker>.</example>
<example type="correct">I have <marker>one bottle</marker> of
wine.</example>
+ <example type="correct">Exactly 1 hour!</example>
<example type="correct">I have two book readers in my
palmtop.</example>
</rule>
<rule id="MANY_NN" name="Possible agreement error: 'many/several/few'
+ singular countable noun">
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