-
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 #11042
Conversation
WalkthroughThe pull request introduces changes to the Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml (1)
The changes look good - expanding the rule to handle "nada" token makes sense and the examples in the comments verify this behavior is correct. Let's verify there are no conflicts with other rules handling "nada": ✅ Verification successfulLet me analyze the search results for "nada" in the Portuguese language resources:
The search results show that "nada" is properly handled across different Portuguese language resources, and the addition of "nada" to the rule The rule expansion to include "nada" is valid and well-integrated The change improves disambiguation by preventing "nada" from being incorrectly tagged as a verb when it follows a participle/infinitive, similar to how "pela", "como", and "sobre" are handled. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for other rules that may conflict with the expanded pattern
# Search for other rules handling "nada"
rg -A 5 'nada' 'languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/'
Length of output: 154207 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 (
|
More tons of fixes.
Summary by CodeRabbit
New Features
Bug Fixes