Skip to content

Commit

Permalink
[de] add/remove words + add AP
Browse files Browse the repository at this point in the history
  • Loading branch information
St-ac-y committed Aug 19, 2024
1 parent 2863141 commit 9b6c7ea
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class CaseRuleAntiPatterns {

// also see case_rule_exceptions.txt:
static final List<List<PatternToken>> ANTI_PATTERNS = Arrays.asList(
Arrays.asList(
csRegex("von"),
csRegex("Gleich"),
csRegex("zu"),
csRegex("Gleich")
),
Arrays.asList(
csRegex("[iI]n"),
csRegex("-"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Copyright © 2013 Markus Brenneis, Daniel Naber, Jan Schreiber
<rule id="ENGLISCHE_WOERTER" name="englische Wörter">
<pattern>
<marker>
<token regexp="yes">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</token>
<token regexp="yes">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</token>
</marker>
</pattern>
<disambig action="ignore_spelling"/>
Expand All @@ -77,7 +77,7 @@ Copyright © 2013 Markus Brenneis, Daniel Naber, Jan Schreiber
<rule>
<pattern>
<marker>
<token regexp="yes">belg|lichtenst|jmds</token>
<token regexp="yes">belg|lichtenst|jmds|norddt</token>
</marker>
<token>.</token>
</pattern>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243638,4 +243638,9 @@ euertwegen
euertwillen
Ethyl/S
ebendas
Fashionvictim
Fashionvictim
Face-to-face-Kommunikation
Globusse/N
In-Dubio-pro-Reo-Grundsatz
In-Dubio-pro-Reo-Grundsatzes
irrewerden
Original file line number Diff line number Diff line change
Expand Up @@ -64488,4 +64488,13 @@ Ferialarbeiter/SN
Ferialarbeiterin
Ferialarbeiterinnen
fernher
Flatrateparty/S
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
Original file line number Diff line number Diff line change
Expand Up @@ -138419,4 +138419,6 @@ Accent grave
Simon Delaître/S
Cartoon Carving
digital versatile disc
Full High Definition
Full High Definition
Drag & Drop
human immunodeficiency virus
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -65920,7 +65920,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<token postag="SENT_START" />
<marker>
<token postag='ART:IND:NOM:SIN:MAS'/>
<token regexp='yes' postag='SUB:NOM:SIN:MAS:ADJ'><exception>Junge</exception>.*e\b</token>
<token regexp='yes' postag='SUB:NOM:SIN:MAS:ADJ'><exception regexp="yes">Junge|Knappe</exception>.*e\b</token>
</marker>
</pattern>
<message>Artikel und Nomen stimmen grammatikalisch nicht überein. Meinten Sie <suggestion>Ein <match no="3" case_conversion="preserve" regexp_match="e\b" regexp_replace="er"></match></suggestion> oder <suggestion>Eine \3</suggestion>?</message>
Expand Down

0 comments on commit 9b6c7ea

Please sign in to comment.