Closed tiff closed 2 weeks ago
This pull request introduces extensive updates to the language processing resources within the LanguageTool project. Key changes include the addition of over 10,000 new words, phrases, and proper nouns to the accepted terms list, as well as enhancements to various anti-pattern rules for German grammar. New entries have been added across multiple files, expanding vocabulary and refining grammatical checks, including updates to exception lists and compound words. The test suite has also been improved to ensure robust validation of the new rules and entries.
File Path | Change Summary |
---|---|
languagetool-core/src/main/resources/org/languagetool/resource/spelling_global.txt | Added over 10,000 new words, phrases, and proper nouns, including scientific names and cultural references. |
languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/AgreementRuleAntiPatterns1.java | Added a new anti-pattern for the phrase "Kombinieren Sie diese zu ganzen Bewegungsprogrammen." |
languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/AgreementRuleAntiPatterns2.java | Added three new anti-patterns and modified one existing pattern for better grammatical structure detection. |
languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/SubjectVerbAgreementRule.java | Introduced a new pattern for detecting subject-verb agreement errors involving plural subjects. |
languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/case_rule_exceptions.txt | Added and updated entries for uppercase exceptions in phrases. |
languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/compounds.txt | Added numerous compound words with specific hyphenation and suggestion behaviors. |
languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/ignore.txt | Added four new entries to the ignore list for the spellchecker. |
languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/spelling.txt | Added various new terms and compound words with grammatical annotations. |
languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-suggest.txt | Introduced new names and terms for multitoken suggestions. |
languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml | Added a new antipattern targeting the token sequence "üblich," followed by a comma. |
languagetool-language-modules/de/src/test/java/org/languagetool/rules/de/AgreementRuleTest.java | Expanded test cases for agreement rules, improving coverage and validation. |
languagetool-language-modules/de/src/test/java/org/languagetool/rules/de/SubjectVerbAgreementRuleTest.java | Enhanced test cases for subject-verb agreement, increasing coverage of grammatical scenarios. |
languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/added.txt | Added various new entries to the part-of-speech dictionary, including proper nouns and cultural terms. |
languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/ignore.txt | Added new entries to the ignore list for the English spellchecker, including names and terms. |
spelling_global.txt
, expanding vocabulary with proper nouns and terms.spelling_global.txt
, enhancing spell-checking capabilities.spelling_global.txt
, aligning with vocabulary expansion.spelling_global.txt
, directly related to the main PR's goals.spelling_global.txt
, supporting the main PR's objectives.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?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Tests