From 7555d7d02821707019bd2f6718b5b7699e04cdd5 Mon Sep 17 00:00:00 2001 From: Christopher Blum Date: Wed, 17 Jul 2024 09:42:48 +0200 Subject: [PATCH] [de] improve rules --- .../org/languagetool/rules/de/GermanSpellerRule.java | 2 ++ .../org/languagetool/resource/de/hunspell/ignore.txt | 1 + .../org/languagetool/resource/de/multitoken-ignore.txt | 2 ++ .../main/resources/org/languagetool/rules/de/grammar.xml | 9 +++++++++ 4 files changed, 14 insertions(+) diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java index 5c251cf5568a..fec0a08151e5 100644 --- a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java +++ b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java @@ -3900,6 +3900,8 @@ protected List getOnlySuggestions(String word) { case "genausogut": return topMatch("genauso gut"); case "Sylvester": return topMatch("Silvester"); case "Außerden": return topMatch("Außerdem"); + case "Irish-Pub": return topMatch("Irish Pub"); + case "Irish-Pubs": return topMatch("Irish Pubs"); case "ausserhalb": return topMatch("außerhalb"); case "Ausserhalb": return topMatch("Außerhalb"); case "Add-On": return topMatch("Add-on"); 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 4fc66e848fc9..5e67695b680e 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 @@ -243565,6 +243565,7 @@ Monospace monospace NOAK #abk Neldel/S +Monza/S #name Silvestrov/S Eig'ne/SN Eig’ne/SN 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 69e71b20477c..e2287384fc77 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 @@ -138397,6 +138397,8 @@ Henderson Lake/S Battelle Fellow/S Google Lunar X Prize Anny Schlemm/S +Sepp Mayerl/S +Sepp Mayer/S Stéphane Richer/S Greg Le-Mond/S Frank Brommer/S 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 f4d2723ef7e2..872cb28bb092 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 @@ -27774,6 +27774,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA vor lachen + + los + (geht|ging)s + + + los + (geht|ging) + s + drauf los