Back to LanguageTool Homepage - Privacy - Imprint

[pt] Problem creating rule - 2021-10-19

@jaumeortola @udomai @tiff

Hello!

I want to create a rule:

VERB TER + “coisas mais importantes” + one of the sentences below.

“a fazer”
“para fazer”
“em que pensar”
“em mente”

In order to suggest:

VERB TER + “prioridades”

Example:

“Tenho coisas mais importantes em que pensar.” → “Tenho prioridades.”

I am not sure, but I could swear that I have seen some rules with sentences in the tokens:

<token>tenho coisas mais importantes</token>
<token>a fazer|para fazer|em que pensar|em mente</token>

Is something like this possible to code?

Thanks!