languagetool
languagetool copied to clipboard
[pt] Improved disambiguator: tags for punctuantion
Hello @jaumeortola
I wondered if you could extend a bit the disambiguator to detect tokens like:
»«"”‘‹›'
Enhance to accept:
_QUOT_OPEN
_QUOT_CLOSE
And with punctuation:
,.!? …
Enhance to accept: _PUNCT_COMMA _PUNCT_PERIOD _PUNCT_EXCLAMATION _PUNCT_INTERROGATION _PUNCT_PERIOD3
Also, maybe something similar could be done with brackets.
Thank you!
I have added these tags. See disambiguation rules: PUNCTUATION, PUNCT, TRES_PONTOS and QUOT.
But there are some duplications and inconsistencies in the tags. Perhaps we should solve these minor problems, before using the tags in the rules. @marcoagpinto
@jaumeortola _QUOT wasn't already there?
_QUOT wasn't already there?
It was there. I mentioned all existing and new rule IDs with tags for punctuation.