-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pt] More verbs/nouns fixes in disambiguation.xml #11130
Conversation
WalkthroughThe pull request introduces modifications to the Portuguese disambiguation rules in LanguageTool's Changes
Possibly related issues
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml (1)
3923-3944
: LGTM! Well-structured rule with good test coverage.The new rule
PELA_COMO_SOBRE_NADA_ACERCA_ELAR_NEXTVERB_VERBS_RARE
correctly handles verb disambiguation after specific prepositions and words. The implementation is clean and includes comprehensive test cases.Consider adding more test cases for:
- Negative cases where the verb tag should be preserved
- Edge cases with multiple prepositions
- Cases with intervening adverbs
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml
(1 hunks)
🔇 Additional comments (1)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml (1)
3945-3945
: Empty line for readability.
This takes around 30 minutes to process to each change I make. That is why I have been creating pull requests, so that after the dataset is processed I can check in ChatGPT and press the "merge" button. However, this last change "SPS00" removes too many valid results, so I am trying without it now. I will probably add it to the pull request after I have the dataset processed and at 5am merge it. |
Portuguese (Portugal): 1948 total matches |
Another milestone in verbs fixing!
Summary by CodeRabbit
New Features
Bug Fixes