Back to LanguageTool Homepage - Privacy - Imprint

[pt] Problem with antipattern

Hello!

I have been trying to fix Tiago’s rule:
id=“GENERAL_GENDER_AGREEMENT_ERRORS”

For the sentence:
“Comprar ou um padrão contínuo variável bidimensional.”

At line 405, if I place:

  <antipattern>
      <token>padrão</token>
	  <token>contínuo</token>
	  <token>variável</token>
  </antipattern>

It works.

But, if I place:

  <antipattern>
      <token postag='NCMS000' postag_regexp='no'/>
      <token postag='AQ0MS0' postag_regexp='no'/>
	  <token postag='AQ0CS0' postag_regexp='no'/>
  </antipattern>

It no longer works.

I tried it in the stand-alone tool.

What is wrong with it?

Thanks!