Revision: 6718
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6718&view=rev
Author:   gulp21-1
Date:     2012-04-12 10:02:32 +0000 (Thu, 12 Apr 2012)
Log Message:
-----------
[de] Umgangssprache: kW-Zahl, PS-Zahl

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-04-12 09:37:37 UTC 
(rev 6717)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml        2012-04-12 10:02:32 UTC 
(rev 6718)
@@ -4457,11 +4457,12 @@
       </rule>
       <rule>
         <pattern>
-          <token regexp="yes">(.*Watt(-)?zahl(en)?)</token>
+          <token regexp="yes">(.*Watt|kw|PS)\-?zahl(en)?</token>
         </pattern>
-        <message>Meinten Sie <suggestion>Leistung</suggestion> oder 
<suggestion>Leistungsangabe</suggestion>? 'Watt-Zahl'&umgangsspr;</message>
+        <message>Meinten Sie <suggestion>Leistung</suggestion> oder 
<suggestion>Leistungsangabe</suggestion>? '<match no="1" 
regexp_match="\-?[Zz]ahl(en)?" regexp_replace=""/>-Zahl'&umgangsspr;</message>
         <example type="correct">Die <marker>Leistungsangaben</marker></example>
         <example type="incorrect">Die <marker>Kilowattzahlen</marker></example>
+        <example type="incorrect">Die <marker>PS-Zahl</marker> ist 
hoch.</example>
       </rule>
       <rule>
         <pattern>

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


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to