Revision: 6086
http://languagetool.svn.sourceforge.net/languagetool/?rev=6086&view=rev
Author: gulp21-1
Date: 2011-12-22 09:21:53 +0000 (Thu, 22 Dec 2011)
Log Message:
-----------
[de] ICH_BIST: workaround for tagger bug(?) (capitalized verbs cannot be
predicate)
Modified Paths:
--------------
trunk/JLanguageTool/src/rules/de/grammar.xml
Modified: trunk/JLanguageTool/src/rules/de/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/de/grammar.xml 2011-12-22 01:50:13 UTC
(rev 6085)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml 2011-12-22 09:21:53 UTC
(rev 6086)
@@ -6078,7 +6078,7 @@
<pattern case_sensitive="yes" mark_from="1">
<token postag="SENT_START"/>
<token>Ich</token>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:1:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:1:SIN.*"
postag_regexp="yes"/></token>
</pattern>
<message>Möglicherweise fehlende grammatische Übereinstimmung zwischen
Subjekt (\2) und Prädikat (\3) bezüglich Person oder Numerus (Einzahl, Mehrzahl
- Beispiel: 'ich sind' statt 'ich bin').</message>
<example type="correct"><marker>Ich bin</marker> nett.</example>
@@ -6093,7 +6093,7 @@
<pattern case_sensitive="yes" mark_from="2" mark_to="-1">
<token postag="SENT_START"/>
<token skip="1"/>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:1:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:1:SIN.*"
postag_regexp="yes"/></token>
<token skip="-1">ich<exception scope="next">und</exception></token>
<token postag="SENT_END"/>
</pattern>
@@ -6108,7 +6108,7 @@
<pattern case_sensitive="yes" mark_from="1">
<token postag="SENT_START"/>
<token>Du</token>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:2:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:2:SIN.*"
postag_regexp="yes"/></token>
</pattern>
<message>Möglicherweise fehlende grammatische Übereinstimmung zwischen
Subjekt (\2) und Prädikat (\3) bezüglich Person oder Numerus (Einzahl, Mehrzahl
- Beispiel: 'du seid' statt 'du bist').</message>
<example type="correct"><marker>Du bist</marker> nett.</example>
@@ -6123,7 +6123,7 @@
<pattern case_sensitive="yes" mark_from="2" mark_to="-1">
<token postag="SENT_START" skip="2"/>
<token skip="1"/>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:2:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:2:SIN.*"
postag_regexp="yes"/></token>
<token skip="-1">du<exception scope="next">und</exception></token>
<token postag="SENT_END"/>
</pattern>
@@ -6138,7 +6138,7 @@
<pattern case_sensitive="yes" mark_from="1">
<token postag="SENT_START"/>
<token>Er</token>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:3:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:3:SIN.*"
postag_regexp="yes"/></token>
</pattern>
<message>Möglicherweise fehlende grammatische Übereinstimmung zwischen
Subjekt (\2) und Prädikat (\3) bezüglich Person oder Numerus (Einzahl, Mehrzahl
- Beispiel: 'er sind' statt 'er ist').</message>
<example type="correct"><marker>Er ist</marker> nett.</example>
@@ -6155,7 +6155,7 @@
<pattern case_sensitive="yes" mark_from="2" mark_to="-1">
<token postag="SENT_START" skip="2"/>
<token skip="1"/>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:3:SIN.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:3:SIN.*"
postag_regexp="yes"/></token>
<token skip="-1">er<exception scope="next">und</exception></token>
<token postag="SENT_END"/>
</pattern>
@@ -6166,12 +6166,13 @@
<example type="incorrect">Auch morgen <marker>leben
er</marker>.</example>
<example type="correct">Morgen <marker>kommen er</marker> und
ich.</example>
<example type="correct">Morgen <marker>kommen er</marker>, den ich
sehr mag, und ich.</example>
+ <example type="correct">Welche <marker>Aufgaben er</marker> dabei
tatsächlich übernehmen könnte...</example>
</rule>
<rule>
<pattern case_sensitive="yes" mark_from="1">
<token postag="SENT_START"/>
<token>Wir</token>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:1:PLU.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:1:PLU.*"
postag_regexp="yes"/></token>
</pattern>
<message>Möglicherweise fehlende grammatische Übereinstimmung zwischen
Subjekt (\2) und Prädikat (\3) bezüglich Person oder Numerus (Einzahl, Mehrzahl
- Beispiel: 'wir ist' statt 'wir sind').</message>
<example type="correct"><marker>Wir sind</marker> nett.</example>
@@ -6188,7 +6189,7 @@
<pattern case_sensitive="yes" mark_from="2" mark_to="0">
<token postag="SENT_START" skip="2"/>
<token skip="1"/>
- <token postag="VER.*:[123]:.*" postag_regexp="yes"><exception
postag="VER.*:1:PLU.*" postag_regexp="yes"/></token>
+ <token postag="VER.*:[123]:.*" postag_regexp="yes"
regexp="yes">[a-zäüö].*<exception postag="VER.*:1:PLU.*"
postag_regexp="yes"/></token>
<token skip="-1">wir</token>
</pattern>
<message>Möglicherweise fehlende grammatische Übereinstimmung zwischen
Subjekt (\4) und Prädikat (\3) bezüglich Person oder Numerus (Einzahl, Mehrzahl
- Beispiel: 'wir ist' statt 'wir sind').</message>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs