From 9b6c7eadd2b6e2da1ff64cfaac967a60c0709c99 Mon Sep 17 00:00:00 2001 From: St-ac-y Date: Mon, 19 Aug 2024 09:31:48 +0200 Subject: [PATCH] [de] add/remove words + add AP --- .../languagetool/rules/de/CaseRuleAntiPatterns.java | 6 ++++++ .../org/languagetool/resource/de/compounds.txt | 4 ---- .../org/languagetool/resource/de/disambiguation.xml | 4 ++-- .../org/languagetool/resource/de/hunspell/ignore.txt | 7 ++++++- .../languagetool/resource/de/hunspell/spelling.txt | 11 ++++++++++- .../languagetool/resource/de/multitoken-ignore.txt | 4 +++- .../languagetool/resource/de/multitoken-suggest.txt | 5 +++++ .../resources/org/languagetool/rules/de/grammar.xml | 2 +- 8 files changed, 33 insertions(+), 10 deletions(-) diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRuleAntiPatterns.java b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRuleAntiPatterns.java index 7e4b04d70b5f..4324e278c33c 100644 --- a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRuleAntiPatterns.java +++ b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRuleAntiPatterns.java @@ -35,6 +35,12 @@ class CaseRuleAntiPatterns { // also see case_rule_exceptions.txt: static final List> ANTI_PATTERNS = Arrays.asList( + Arrays.asList( + csRegex("von"), + csRegex("Gleich"), + csRegex("zu"), + csRegex("Gleich") + ), Arrays.asList( csRegex("[iI]n"), csRegex("-"), diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/compounds.txt b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/compounds.txt index 9ae4b9f88c0c..a741e83b34b4 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/compounds.txt +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/compounds.txt @@ -159,10 +159,6 @@ Home-Run$ Home-Runs$ Inhouse-Schulung$ Inhouse-Schulungen$ -Inhouse-Seminar? -Inhouse-Seminare? -Inhouse-Seminars? -Inhouse-Seminaren? Jet-Lag? Jet-Lags? Kaffee-Ersatz$ diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/disambiguation.xml b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/disambiguation.xml index ccd98253f757..ad5876fb9961 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/disambiguation.xml +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/disambiguation.xml @@ -67,7 +67,7 @@ Copyright © 2013 Markus Brenneis, Daniel Naber, Jan Schreiber - Bingewatching|Breakeven.*|Blow-up|Cancel-Culture|Carving-Ski|Chill-out-Area|Chill-out|Corned-Beef-Büchse|Conférencier|De-Luxe-Ausstattung|Egoshooter|Fun-Fact + Bingewatching|Breakeven.*|Blow-up|Cancel-Culture|Carving-Ski|Chill-out-Area|Chill-out|Corned-Beef-Büchse|Conférencier|De-Luxe-Ausstattung|Egoshooter|Fun-Fact|Glam-Rock|Cybergrooming @@ -77,7 +77,7 @@ Copyright © 2013 Markus Brenneis, Daniel Naber, Jan Schreiber - belg|lichtenst|jmds + belg|lichtenst|jmds|norddt . diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/ignore.txt b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/ignore.txt index 4d25edfd425a..6bcb60e538ab 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/ignore.txt +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/ignore.txt @@ -243638,4 +243638,9 @@ euertwegen euertwillen Ethyl/S ebendas -Fashionvictim \ No newline at end of file +Fashionvictim +Face-to-face-Kommunikation +Globusse/N +In-Dubio-pro-Reo-Grundsatz +In-Dubio-pro-Reo-Grundsatzes +irrewerden \ No newline at end of file diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/spelling.txt b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/spelling.txt index 92fe73b46547..e15c64fef0f2 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/spelling.txt +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/spelling.txt @@ -64488,4 +64488,13 @@ Ferialarbeiter/SN Ferialarbeiterin Ferialarbeiterinnen fernher -Flatrateparty/S \ No newline at end of file +Flatrateparty/S +Fogosch/S +Fogosche/SN +Gloxinie/N +Genitivus obiectivus +Genitivus subiectivus +heliotropisch/A +Heliobiologie +In-dubio-pro-reo-Grundsatz +In-dubio-pro-reo-Grundsatzes \ No newline at end of file diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-ignore.txt b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-ignore.txt index 6ff424073d06..2a6ea0a57708 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-ignore.txt +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-ignore.txt @@ -138419,4 +138419,6 @@ Accent grave Simon Delaître/S Cartoon Carving digital versatile disc -Full High Definition \ No newline at end of file +Full High Definition +Drag & Drop +human immunodeficiency virus \ No newline at end of file diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-suggest.txt b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-suggest.txt index d34330c29f05..68843b56501c 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-suggest.txt +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/multitoken-suggest.txt @@ -3038,3 +3038,8 @@ Blanc de Noir Blanc de Blanc/S Camera obscura Fait accompli +Créme de la Créme +Fédération Internationale de Football Association +Genitivus Qualitatis +in extenso +in toto \ No newline at end of file diff --git a/languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml b/languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml index 1833436887f9..3348564384df 100644 --- a/languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml +++ b/languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml @@ -65920,7 +65920,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - Junge.*e\b + Junge|Knappe.*e\b Artikel und Nomen stimmen grammatikalisch nicht überein. Meinten Sie Ein oder Eine \3?