Back to LanguageTool Homepage - Privacy - Imprint

Need help for en

I have some problems when using the helping website to create a new LanguageTool rule. I am understandable for seeing prompts as following:

The following sentences - which result from applying the correction - trigger a rule match themselves:
The writer and teacher are quite popular among the students.

Could you explain it for me?

Thanks.

Could you paste the rule you’re checking?

<pattern>
  <token postag='SENT_START'></token>
  <token>the</token>
  <token postag='NN'></token>
  <token>and</token>
  <token postag='NN'></token>
  <token postag='VBP'></token>
 </pattern>

The error sentence: The writer and teacher are quite popular among the students.
The correct sentence: The writer and the teacher are quite popular among the students.

Could you post the whole rule, i.e. everything between <rule> and </rule>? Please put your code in between three backticks (```) so the code gets formatted properly.

<rule id="" name="">
 <pattern>
  <token postag='SENT_START'></token>
  <token>the</token>
  <token postag='NN'></token>
  <token>and</token>
  <token postag='NN'></token>
  <token postag='VBP'></token>
 </pattern>
 <message></message>
 <example correction=''><marker>The writer and teacher are</marker> quite popular among the students.</example>
 <example>The writer and the teacher are quite popular among the students.</example>
</rule>

The whole rule as stated above, displays an error.
The following sentences - which result from applying the correction - trigger a rule match themselves:
The writer and teacher are quite popular among the students.

Strange, I cannot reproduce that:

Could you send a screenshot of the error?

Maybe something along these lines will get you closer to what you want:

<rule id="SOME_ID_ALL_CAPS" name="My rule name">
 <pattern>
  <token postag='SENT_START'></token>
  <token>the</token>
  <token postag='NN'></token>
  <token>and</token>
  <token postag='NN'></token>
  <token postag='VBP'></token>
 </pattern>
 <message>Did you mean: <suggestion>\2 \3 \4 the \5 \6</suggestion>?</message>
 <example correction='The writer and the teacher are'><marker>The writer and teacher are</marker> quite popular among the students.</example>
</rule>

Thanks. This is a false alarm, you can ignore it for now. I will try to fix it later.

This should be fixed tomorrow.