languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.05k stars 1.38k forks source link

[PT-BR] Problem with indications of suggestions #4031

Open lw4z opened 3 years ago

lw4z commented 3 years ago

In the sentence: "O cacique Marquinhos Xukuru, condenado na justiça, possui contra si um processo criminal (2006.83.02.000366-5), o qual transitou em julgado em fevereiro de 2015, onde o Cacique fora condenado pela prática de crime contra o patrimônio privado, incêndio (art. 250, §1º, “a”), a uma pena de 10 anos, 4 meses e 13 dias, além de multa. Do blog do Magno"

image

If add the same text one more time, the indications changes its location.

image

Languagetool 5.2 snapshot; Language: Brazilian Portuguese

The same issue occured in web version. image

lw4z commented 3 years ago

The error probably is related to the law structure:

image

After that point, the error position count is wrong.