languagetool-org / languagetool

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

[pt] General POS tagger/synthetizer errors #685

Closed Konfekt closed 5 years ago

Konfekt commented 7 years ago

Somehow, Vi um teorema gives the error GENERAL_GENDER_AGREEMENT_ERRORS Erro de concordância de género..

However, in the file LanguageTool-3.7-SNAPSHOT/org/languagetool/resource/pt/hunspell/pt_PT.dic, there is correctly listed teorema/pl [CAT=nc,G=m,N=s]. How come the wrong positive still appears?

Other male words ending in a, like um pirata, do not cause this error.

TiagoSantos81 commented 7 years ago

The file you referred is the spelling dictionary. This issue is with a wrong POS. The POS recognition is made with files in LanguageTool-3.7-SNAPSHOT/org/languagetool/resource/pt/. I will fix these words in the coming days. If you find more POS errors, report them here and I will add them before rebuilding the dictionary and synthetizer.

danielnaber commented 7 years ago

As Vi um teorema doesn't cause an error anymore, I assume this is fixed - please re-open if I'm wrong.

TiagoSantos81 commented 7 years ago

I left this open, because this is an issue that is pertinent. I fixed the teorema tags at the time, but there are still many other words with wrong tags. I will be happy if they are. That is great help. That is also the reason I changed the issue name.

TiagoSantos81 commented 7 years ago

Reopen?

TiagoSantos81 commented 5 years ago

Thread is dead. Closing.

Konfekt commented 5 years ago

This issue no longer occurs in the latest version.