From cd39266475d3a30d48ea5d00f03fe42e927c61f3 Mon Sep 17 00:00:00 2001 From: Luisa-LT Date: Wed, 20 Sep 2023 13:44:32 +0200 Subject: [PATCH] [de] added exception --- .../org/languagetool/rules/de/CaseRuleAntiPatterns.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 6c058f505bb7..85d81c45419e 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 @@ -474,6 +474,12 @@ class CaseRuleAntiPatterns { token("und"), posRegex("SUB:.*") ), + Arrays.asList( + // Nicht geimpft werden dürfen Immunsupprimierte, Personen mit Fieber 38 °C oder Menschen, die allergisch sind. + pos("UNKNOWN"), + token(","), + posRegex("SUB:.*") + ), Arrays.asList( // "... wie ich das prüfen sollte." posRegex("VER:INF.+"),