Closed marcoagpinto closed 2 days ago
The pull request introduces a new disambiguation rule, identified as PELA_COMO
, in the disambiguation.xml
file for the Portuguese language module of LanguageTool. This rule targets specific contexts involving the words "pela" and "como" in relation to verbs and modifies their postags accordingly. The rule's placement within the XML file was adjusted to ensure compatibility with existing rules. Comments within the file indicate that the rule was verified using ChatGPT, but the overall structure of the XML remains unchanged.
File | Change Summary |
---|---|
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml | Added rule <rule id="PELA_COMO" name="Remove pela/como from appearing as verbs"> to manage specific verb contexts. |
disambiguation.xml
for Portuguese, focusing on verb patterns, related to this PR.disambiguation.xml
, enhancing verb handling relevant to the new rule.disambiguation.xml
, aligning with the new rule introduced.disambiguation.xml
, directly relating to the new rule.RARE_POS
, relevant to the disambiguation logic.RARE_POS
addressing patterns with postag VMP00.+
, directly related to the changes.disambiguation.xml
, closely connected to the new rule.disambiguation.xml
, relating to the new rule introduced.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I had to move the rule down because it wasn't working with adverbs (RM):
“As espécies viáveis foram sendo incorporadas gradativamente pela natureza.”
RM="gradativamente”Summary by CodeRabbit