Closed marcoagpinto closed 2 days ago
The pull request introduces a new rule in the disambiguation.xml
file for Portuguese grammar rules in LanguageTool. The new rule, identified as PI_VERBS
, is designed to prevent certain patterns involving infinitive verbs followed by specific nouns from being incorrectly tagged as verbs. Additionally, the update includes comments to clarify the functionality of existing rules, while maintaining the overall structure of the file without removing any existing rules.
File | Change Summary |
---|---|
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml | Added new rule <rule id="PI_VERBS" name="Remove PI.+ followed by noun from appearing as verb"> and included comments for clarification. |
disambiguation.xml
to enhance disambiguation rules for Portuguese, related to the new rule added in this PR.RARE_POS
rule in disambiguation.xml
, directly connected to the new verb disambiguation rule.disambiguation.xml
that enhances verb and noun handling, relevant to the changes in the main PR.disambiguation.xml
related to verb and noun classification, connecting to the new rule added.RARE_POS
group of disambiguation.xml
, relevant to the focus on verb disambiguation.RARE_POS
rule in disambiguation.xml
, directly related to the new rule added in this PR.disambiguation.xml
for handling certain verbs, relevant to the changes made in the main PR.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 noticed that the verb/noun rules, some of them, need to be moved down to fully work.
So, I have moved it down and improved it.
Summary by CodeRabbit