Revision: 7443
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7443&view=rev
Author:   gulp21-1
Date:     2012-06-21 16:46:09 +0000 (Thu, 21 Jun 2012)
Log Message:
-----------
[de] fix false alarms caused by ADJ_PRAEDIKATIV

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/de/grammar.xml

Modified: trunk/JLanguageTool/src/rules/de/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/de/grammar.xml        2012-06-21 15:05:19 UTC 
(rev 7442)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml        2012-06-21 16:46:09 UTC 
(rev 7443)
@@ -17168,12 +17168,12 @@
         </rulegroup>
         <rulegroup id="ADJ_PRAEDIKATIV" name="Grammatik: Starke, schwache oder 
gemischte Adjektiv-Flektion statt prädikativer, z.B. 'sich normale (normal) 
entwickeln'">
             <rule>
-                <pattern>
-                    <token regexp="yes">[mds]ich</token>
+                <pattern case_sensitive="yes">
+                    <token regexp="yes">[mdsMDS]ich</token>
                     <marker>
-                        <token postag="ADJ:.*:(SOL|DEF|IND)" 
postag_regexp="yes"><exception postag="ADJ:PRD:.*" 
postag_regexp="yes"/><exception postag="ADJ:.*" negate_pos="yes" 
postag_regexp="yes"/><exception regexp="yes">einig.*</exception></token>
+                        <token postag="ADJ:.*:(SOL|DEF|IND)" 
postag_regexp="yes"><exception postag="ADJ:PRD:.*" 
postag_regexp="yes"/><exception postag="ADJ:.*" negate_pos="yes" 
postag_regexp="yes"/><exception 
regexp="yes">einig.*|andere.*</exception></token>
                     </marker>
-                    <token postag="VER:[123]:.*" postag_regexp="yes"/>
+                    <token postag="VER:[123]:.*" postag_regexp="yes" 
regexp="yes">[a-z]+</token>
                 </pattern>
                 <message>&subanfang;das Adjektiv hier prädikativ flektiert 
werden muss. (Beispiel: 'sich normale entwickeln' statt 'sich normal 
entwickeln').</message>
                 <example type="incorrect">Ein Kind, das sich 
<marker>normale</marker> entwickelt, ist gesund.</example>
@@ -17181,6 +17181,7 @@
                 <example type="correct">Ein Kind, das sich 
<marker>normal</marker> entwickelt, ist gesund.</example>
                 <example type="correct">Dieser Fehler lässt sich 
<marker>einige</marker> male reproduzieren.</example>
                 <example type="correct">Was passiert, wenn ich mich 
<marker>schlechter</marker> verhalte?</example>
+                <example type="correct">Es finden sich 
<marker>gegenteilige</marker> Annahmen.</example>
             </rule>
         </rulegroup>
         <rule id="SATZ_OHNE_PRAED" name="Grammatik: Satz ohne Prädikat" 
default="off">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to