Back to LanguageTool Homepage - Privacy - Imprint

[En] New Preposition Rule: accused of


#1

Incorrect: They were not accused with the murder charge.
Correct: They were not accused of the murder charge.
Preposition rule: accused of
The code is:

<!-- English rule, 2016-11-10 -->
<rule id="ACCUSED_OF" name="accused of">
<antipattern>
  <marker>
  <token>accused</token>
  <token regexp='yes'>to</token>
  <token postag="VB" postag_regexp="yes"></token>
  </marker>
</antipattern>
<antipattern>
  <marker>
  <token>accused</token>
  <token regexp='yes'>in</token>
  <token postag="CD" postag_regexp="yes"></token>
  </marker>
</antipattern>
<antipattern>
  <marker>
  <token>accused</token>
  <token regexp='yes'>by</token>
  <token postag="JJ|NN:UN" postag_regexp="yes"></token>
  <token postag="JJ" postag_regexp="yes"></token>
  </marker>
</antipattern>

<pattern>
  <marker>
  <token>accused</token>
  <token regexp='yes'>about|below|excepting|off|toward|above|beneath|for|on|under|across|beside|besides|from|onto|underneath|after|between|in|out|until|against|beyond|outside|up|along|but|inside|over|upon|among|by|past|around|concerning|regarding|with|at|despite|into|since|within|down|like|through|without|before|during|near|throughout|behind|except|to</token>
  </marker>
</pattern>
<message>Did you mean: <suggestion>accused of</suggestion>?</message>
<short>Wrong preposition: accused of</short>
<example correction=''>He is <marker>accused in</marker> committing the bomb blast.</example>
<example>He is accused of committing the bomb blast.</example>
</rule>

Please modify the code and publish.


(Mike Unwalla) #2

This is now on my task list.


#3

@Mike_Unwalla , Thanks.