Skip to content

Commit

Permalink
[de] added antipatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
f-knorr committed Mar 24, 2017
1 parent 3ca51e6 commit 6390de9
Showing 1 changed file with 15 additions and 2 deletions.
Expand Up @@ -20081,7 +20081,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<marker>
<token regexp="yes">wesentlichen|voraus|ungewissen|speziellen|klaren|guten|ganzen|dunkeln|argen|besonderen|übrigen</token>
</marker>
<token><exception postag="SUB:..+" postag_regexp="yes"/></token>
<token><exception postag="SUB:.*" postag_regexp="yes"/></token>
</pattern>
<message>&inwend;'im <match case_conversion="startupper" no="2"/>' wird <suggestion><match case_conversion="startupper" no="2"/></suggestion> in der Regel großgeschrieben.</message>
<url>https://www.korrekturen.de/wortliste/i/</url>
Expand All @@ -20106,7 +20106,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<token>und</token>
<token>ganzen</token>
</marker>
<token><exception postag="SUB:..+" postag_regexp="yes"/></token>
<token><exception postag="SUB:.*" postag_regexp="yes"/></token>
</pattern>
<message>&inwend;'im <suggestion>Großen und Ganzen</suggestion>' werden 'Großen' und 'Ganzen' großgeschrieben.</message>
<url>https://www.korrekturen.de/wortliste/i/</url>
Expand Down Expand Up @@ -30017,6 +30017,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<rulegroup id="KOMMAFEHLER" name="Fehler in der Kommasetzung">
<url>http://www.duden.de/sprachwissen/rechtschreibregeln/komma</url>
<rule id="KOMMA_VOR_SONDERN" name="Komma vor 'sondern'">
<antipattern>
<token skip="3">sondern</token>
<token postag="SUB:.*" postag_regexp="yes"/>
<token>ab</token>
<token postag="PKT"/>
</antipattern>
<pattern>
<marker>
<token><exception regexp="yes">,|;|-|–|\(|„|“|"</exception><exception postag="SENT_START"/></token>
Expand All @@ -30027,6 +30033,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<suggestion>\1, \2</suggestion>
<example correction="Sommer, sondern" type="incorrect">Es ist nicht <marker>Sommer sondern</marker> Winter.</example>
<example>Es ist nicht <marker>Sommer, sondern</marker> Winter.</example>
<example>Diese <marker>Insekten sondern</marker> einen bestimmten Duftstoff ab.</example>
<example correction="zu, sondern">Warum nicht er nicht <marker>zu sondern</marker> ab?</example>
</rule>
<rule id="KOMMA_VOR_ERLAEUTERUNG" name="Komma vor Erläuterung" default="off">
<!-- Sonderfälle noch nicht behandelt, deshalb deafult="off" -->
Expand Down Expand Up @@ -30517,6 +30525,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<token postag="KON.*|ADV.*|NEG.*|PRP.*" postag_regexp="yes"/>
<token regexp="yes">weil|obwohl|ob|obgleich|sodass|dass|indem|wenn|falls|sofern|nachdem|sobald</token>
</antipattern>
<antipattern>
<token>ob</token>
<token postag='.*GEN.*|UNKNOWN' postag_regexp='yes'/>
</antipattern>
<pattern>
<marker>
<token>
Expand All @@ -30536,6 +30548,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<example>Sie waren nicht nur unbeliebt, weil sie den Krieg nach Kambodscha getragen hatten, sondern auch weil sie für viele ein Symbol für die Fremdbestimmung darstellten.</example>
<example>Drei Tage nachdem er es getan hatte, bereute er es schon.</example>
<example>Wir kamen, drei Tage nachdem wir aufgebrochen waren, in Rom an.</example>
<example>Ich bin erstaunt ob deiner schnellen Antwort.</example>
</rule>
<rule>
<antipattern>
Expand Down

0 comments on commit 6390de9

Please sign in to comment.