Back to LanguageTool Homepage - Privacy - Imprint

Which after if


(jab) #1

Hi,

please add this simple pattern. Fixes typical duplicate words. Additionally it can fix this example if you miss the comma:
If and only if, which direction is which?

<rule id="ID" name="if which">

 <pattern>
  <token>if</token>
  <token>which</token>
 </pattern>
 <message>Which should not follow if. Choose either one. Did you forget a comma?</message>
 <example correction=''>We cannot know <marker>if which</marker> functionality gets tested.</example>
 <example>We cannot know if functionality gets tested.</example>
</rule>

Thanks!


(Daniel Naber) #2

Thanks! I've added it, it should become active tonight on languagetool.org.