Closed marcoagpinto closed 2 months ago
A new rule has been added to the style.xml
file for the Portuguese language module in LanguageTool. This rule addresses the informal expression "vale de pouco" by prompting users to consider more formal alternatives. The rule includes a specific pattern to detect the expression and provides examples of incorrect usage along with suggested corrections.
Files | Change Summary |
---|---|
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/pt-PT/style.xml | Added a new rule targeting the colloquial expression "vale de pouco," suggesting more formal alternatives. |
style.xml
file, focusing on improving language rules for Portuguese.style.xml
for detecting informal expressions, similar to the main PR's focus.style.xml
file, specifically removing a "temp_off" designation from a subrule related to language rule management.languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/pt-PT/style.xml (1)
`1866-1878`: **The changes to the `INFORMALITIES` rule look good!** The new pattern correctly matches the informal expression "vale de pouco". The message and suggestions provide appropriate guidance to use more formal alternatives. The examples effectively illustrate the incorrect usage and expected corrections.
Just added a colloquialism rule to pt-PT.
Will merge it after it passes the checks.
Summary by CodeRabbit