I need help on this:
<rule id="ID" name="These|Those + Singular Noun">
<pattern>
<token regexp='yes'>these|those</token>
<token postag='NN|NN:UN' postag_regexp='yes'><exception
postag='IN|VBP' postag_regexp='yes'/></token>
</pattern>
<message><suggestion><match no="1"/></suggestion> should be
followed by a singular noun.</message>
<short>Grammar</short>
<example type='incorrect'>I find <marker>these translation</marker>
misleading.</example>
<example type='correct'>I find these translations misleading.</example>
<example type='correct'>I find this translation misleading.</example>
</rule>
I get one false alarm:
113 of these mollusk species have never been collected
outside of the state
So, I tried adding this to token 2:
<exception chunk="E-NP-singular"/>
But got an error message.
kb
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel