Closed marcoagpinto closed 1 month ago
This pull request introduces two new <antipattern>
elements within the <rulegroup>
"CONCORDANCIA_SER_GENERO" in the grammar.xml
file. These antipatterns define specific grammatical error conditions related to the verbs "ser," "ficar," and "estar," including a series of <token>
definitions and examples. The changes aim to enhance the grammar checking capabilities of the language tool by targeting constructions that may lead to grammatical errors in Portuguese.
File Path | Change Summary |
---|---|
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml | Added two new <antipattern> elements in the CONCORDANCIA_SER_GENERO rulegroup with multiple <token> and <example> definitions. |
grammar.xml
file, similar to the new antipatterns introduced in the main PR for grammatical errors related to verb usage in Portuguese.grammar.xml
file by adding a new antipattern, which aligns with the focus on enhancing grammar checking capabilities in the main PR.style.xml
file, which may relate to the overall improvements in grammar rules discussed in the main PR.style.xml
file, indicating an enhancement in the rule's application, which is consistent with the main PR's goal of improving grammar checking.style.xml
file, reflecting ongoing efforts to refine and activate grammar rules, similar to the objectives of 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?
Heya, @susanaboatto and @p-goulart ,
I have added a couple of APs to your rule.
I tried to do the same for female hits, but it was removing valid sentences, so I have only done it for male.
This is the best I can do.
Summary by CodeRabbit