Hi, I've built a rule for detecting some extraneous apostrophes in English. 
This will catch some of the times that people use possessives instead of 
plurals. It catches sentences like "cat's are cute." 

I am submitting it for inclusion, if it is suitable. Any suggestion or 
criticisms are welcome. (If you do attribution for rules, then cite me as The 
Square Cow. if not, nothing is absolutely fine.)

<!-- English rule, 2014-10-15 -->
<rule id="ID" name="extraneous apostrophes before are">
<pattern>
  <token postag='NN'></token>
  <token>'</token>
  <token>s</token>
  <token>are</token> 
</pattern>
<message>Did you mean to use the plural of <match no="1" 
case_conversion="alllower"/> instead of the possessive of <match no="1" 
case_conversion="alllower"/>?</message>
<short>extraneous apostrophe</short>
<example type='incorrect'>The <marker>car's are</marker> cheap.</example>
<example type='correct'>The cars are cheap.</example>
</rule> 


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to