Skip to content

Commit

Permalink
[en] added rulegroup THERE_THEIR (see http://forum.languagetool.org/t…
Browse files Browse the repository at this point in the history
  • Loading branch information
f-knorr committed Mar 9, 2017
1 parent aaa9dc8 commit df2a8b5
Showing 1 changed file with 35 additions and 0 deletions.
Expand Up @@ -13552,6 +13552,41 @@ USA
<example correction="their own">They completed the huge project on <marker>they're own</marker>.</example>
</rule>
</rulegroup>
<rulegroup id="THERE_THEIR" name="there (their)">
<rule>
<pattern>
<token regexp="yes">in|at|on|to</token>
<marker><token>there</token></marker>
<token postag="JJ" min="0"/>
<token postag="NNS?" postag_regexp="yes"/>
</pattern>
<message>Did you mean <suggestion>their</suggestion>?</message>
<example correction="their">The parents yelled at <marker>there</marker> son.</example>
<example correction="their">They talked to <marker>there</marker> parents.</example>
<example correction="their">It was a heavy weight on <marker>there</marker> shoulders.</example>
</rule>
<rule>
<pattern>
<token postag="RP|TO" postag_regexp="yes"/>
<marker><token>there</token></marker>
<token>place</token>
</pattern>
<message>Did you mean <suggestion>their</suggestion>?</message>
<example correction="their">What would you do in <marker>there</marker> place?</example>
<example correction="their">We drove to <marker>there</marker> place and had dinner.</example>
</rule>
<rule>
<pattern>
<marker><token>there</token></marker>
<token postag="NNS?" postag_regexp="yes"><exception postag="JJ.?|RB" postag_regexp="yes"/></token>
<token postag="SENT_END"><exception>?</exception></token>
</pattern>
<message>Did you mean <suggestion>their</suggestion>?</message>
<example correction="their">The parents loved <marker>there</marker> son.</example>
<example correction="their">They were <marker>there</marker> angels.</example>
<example>Since when are there fireworks?</example>
</rule>
</rulegroup>
<rule id="ZERO-SUM_GAIN" name="zero-sum gain (game)">
<pattern>
<token>zero-sum</token>
Expand Down

0 comments on commit df2a8b5

Please sign in to comment.