Back to LanguageTool Homepage - Privacy - Imprint

[EN] New redundancy rule

Hi, I have written a new rule, but I don’t know where in grammar.xml I should put it.

<!-- English rule, 2020-02-03 -->
<rule id="JUST_ADVERB" name="just adverb">
 <pattern>
  <token>just</token>
  <token regexp='yes' postag='RB'>barely|exactly|merely|only|simply|recently|precisely</token>
 </pattern>
 <message>This phrase is redundant. Consider using <suggestion><match no="2"/></suggestion>.</message>
 <short>Redundant phrase</short>
 <example correction=''>The giraffe left the zoo <marker>just recently</marker>.</example>
 <example>The giraffe left the zoo recently.</example>
</rule>

@handwritten, you can put the rule in category id=“REDUNDANCY”. Thanks.