Back to LanguageTool Homepage - Privacy - Imprint

[pt] No hit in gentilics rule

Hello @udomai @tiff @jaumeortola

The rule:
GENTILICOS_LINGUAS

Doesn’t detect:

“Bifurcou” o dicionário Britânico em 25-AGO-2013.

But the word is in:
!ENTITY languages

What could be wrong?

Thanks!

Maybe it is a rule priority issue?

In your pattern the first token is:

<and>
    <token negate_pos="yes" postag='SENT_START' postag_regexp='no'/>
    <token postag='DA.+|SPS.+|_PUNCT|CC|CS|V.+' postag_regexp='yes'/>
</and>

“dicionário” is a noun and it doesn’t match.

Fixed!

Thanks!