Closed marcoagpinto closed 2 weeks ago
The changes in this pull request involve modifications to the disambiguation.xml
file for Portuguese language rules in LanguageTool. A new rule has been added to the RARE_POS
group to handle specific verb forms, along with updates to existing rules to refine patterns and exceptions. Additionally, a commented-out rule group related to sentence tokenization has been removed. These alterations aim to enhance the disambiguation logic for verb forms and improve the overall accuracy of the rules.
File Path | Change Summary |
---|---|
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml | - Added a new rule in the RARE_POS group for specific verb forms. - Updated an existing rule with a new exception pattern. - Removed a commented-out rule group related to sentence tokenization. - Minor adjustments to existing rules for improved accuracy. |
disambiguation.xml
for Portuguese focusing on verb patterns, similar to the changes made in this PR.disambiguation.xml
related to verb patterns, indicating a direct connection to this PR.disambiguation.xml
related to verbs, aligning with the enhancements made in this PR.RARE_POS
, directly relevant to this PR's changes.RARE_POS
rule in disambiguation.xml
, enhancing specificity related to updates made in this PR.RARE_POS
rule in disambiguation.xml
, directly aligning with the enhancements described in this 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?
Hello!
Another major enhancement and also fixed:
“Ele a ama e ela o ama também.”
“ele” and “ela” were being detected as a verb, thus incorrectly removing the “ama” verb.Summary by CodeRabbit
New Features
Bug Fixes
Chores