-
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 #11057
Conversation
WalkthroughThis pull request modifies the Changes
Possibly related issues
Possibly related PRs
Suggested reviewers
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
🧹 Outside diff range and nitpick comments (1)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml (1)
Line range hint
3824-3843
: Consider preserving the example commentsThe removed comments contained valuable examples that helped understand the rule's application. While the examples are still valid, having them in comments helps future maintainers understand the rule's purpose and behavior.
Consider preserving these examples in the comments to maintain code documentation quality:
</pattern> <disambig action="remove" postag="V.*"/> + <!-- + Examples: + Elas eram conhecidas pelas cadelas. + Elas eram conhecidas como cadelas. + As espécies viáveis foram sendo incorporadas gradativamente pela natureza. + A cidade também é muito conhecida pelos seus doces de espécie. + Obrigado pela sua compreensão e bom trabalho! + A segunda, que era conhecida como sua esposa no Olimpo, era a ciumenta Hera. + Ele escreveu que ficou surpreso sobre como os resultados ficaram bons. + Se ofendem por conta de suspeitas sobre artistas. + Desde 1967, Ele tem derramado sobre a Igreja a graça do batismo no Espírito Santo. + Suponho que não há mais nada a dizer sobre isso. + Vamos nos separar e procurar pelo Tom. + Não vim aqui para falar sobre meus problemas. + Na audiência, nada foi comprovado acerca da alegação do convite às testemunhas. + Sei que tem muito jogo de cena, mas ele poderia ter escolhido ele mesmo. + Fala mal dela mas queria ser ela e estar no lugar dela. + -->
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml
(2 hunks)
🔇 Additional comments (2)
languagetool-language-modules/pt/src/main/resources/org/languagetool/resource/pt/disambiguation.xml (2)
3816-3818
: Rule ID update looks good
The rule ID change from PELA_COMO_SOBRE_NADA_ACERCA_VERBS_RARE
to PELA_COMO_SOBRE_NADA_ACERCA_ELAR_VERBS_RARE
accurately reflects the addition of "elar" verbs to the pattern.
3823-3823
: Pattern update enhances disambiguation
The addition of el[ae]s?
to the pattern improves disambiguation by handling pronouns like "ele", "ela", "eles", "elas" when they appear after past participles/infinitives.
Even more fixes 😛 😛
Summary by CodeRabbit
New Features
Bug Fixes
Chores