[LanguageTool] SF.net SVN: languagetool:[6846] trunk/JLanguageTool/src/rules/de/grammar. xml

2012-05-07 Thread janschreiber
Revision: 6846
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6846view=rev
Author:   janschreiber
Date: 2012-05-07 08:57:02 + (Mon, 07 May 2012)
Log Message:
---
[de] new rule PRAEP_AKK (needs field test)

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

Modified: trunk/JLanguageTool/src/rules/de/grammar.xml
===
--- trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-06 22:08:17 UTC 
(rev 6845)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-07 08:57:02 UTC 
(rev 6846)
@@ -13469,6 +13469,59 @@
   example type=incorrect correction=Gemäß demmarkerGemäß 
des/marker Beschlusses der Kultusministerkonferenz/example
   example type=correctmarkerGemäß dem/marker Beschluss der 
Kultusministerkonferenz/example
 /rule
+rulegroup id=PRAEP_AKK name=Grammatik: Präposition mit Akkusativ 
(ohne, für etc.)
+  !-- Please note that 'um' is omitted intentionally because it generates 
false positives. --
+  rule
+  !-- FEM --
+pattern mark_from=1 mark_to=-1 case_sensitive=yes
+  token 
regexp=yesbetreffend|durch|für|gegen|kontra|ohne|via|wider/token
+  token 
regexp=yesder(selben)?|(D|d|s|m)?einer|(eu|ih|Ih|unse)rer|(jede|jene|diese|alle)r/token
+  token postag=(ADJ|SUB):DAT:(SIN|PLU):FEM.* postag_regexp=yes/
+  tokenexception postag=ADJ:AKK:.+ 
postag_regexp=yes/exceptionnach/exception/token
+/pattern
+messageDie Präposition '\1' erfordert i.d.R. den Akkusativ./message
+
urlhttp://www.canoo.net/services/OnlineGrammar/Wort/Praeposition/Kasus/Akkusativ.html/url
+shortDiese Präposition erfordert den Akkusativ/short
+example type=correctDas ist wider markerdie 
Vernunft/marker./example
+example type=correctDas ist wider markeralle 
Vernunft/marker./example
+example type=correctDas ist für markerdeine 
Frau/marker./example
+example type=incorrectDas ist wider markerder 
Vernunft/marker./example
+example type=incorrectDas ist wider markeraller 
Vernunft/marker./example
+example type=incorrectDas ist für markerdeiner 
Frau/marker./example
+  /rule
+  rule
+  !-- MAS|NEU SIN --
+pattern mark_from=1 mark_to=-1 case_sensitive=yes
+  token 
regexp=yesbetreffend|durch|für|gegen|kontra|ohne|via|wider/token
+  token 
regexp=yesdem(selben)?|(D|d|s|m)?einem|(eu|ih|Ih|unse)rem|(jede|jene|diese|alle)m/token
+  token postag=(ADJ|SUB):DAT:SIN:(MAS|NEU) postag_regexp=yes/
+  tokenexception postag=ADJ:AKK:.+ 
postag_regexp=yes/exceptionnach/exception/token
+/pattern
+messageDie Präposition '\1' erfordert i.d.R. den Akkusativ./message
+
urlhttp://www.canoo.net/services/OnlineGrammar/Wort/Praeposition/Kasus/Akkusativ.html/url
+shortDiese Präposition erfordert den Akkusativ/short
+example type=correctDas ist wider markerden 
Verstand/marker./example
+example type=correctDas ist für markerdas 
Bild/marker./example
+example type=incorrectDas ist für markerdem 
Bild/marker./example
+example type=incorrectDas ist für markerdeinem 
Mann/marker./example
+  /rule
+  rule
+  !-- MAS|NEU PLU --
+pattern mark_from=1 mark_to=-1 case_sensitive=yes
+  token 
regexp=yesbetreffend|durch|für|gegen|kontra|ohne|via|wider/token
+  token 
regexp=yesden(selben)?|(D|d|s|m)?einen|(eu|ih|Ih|unse)ren|(jede|jene|diese|alle)n/token
+  token postag=(ADJ|SUB):DAT:PLU:(MAS|NEU) 
postag_regexp=yesexception postag=(ADJ|SUB):AKK:(SIN|PLU):(MAS|NEU) 
postag_regexp=yes//token
+  tokenexception postag=ADJ:AKK:.+ 
postag_regexp=yes/exceptionnach/exception/token
+/pattern
+messageDie Präposition '\1' erfordert i.d.R. den Akkusativ./message
+
urlhttp://www.canoo.net/services/OnlineGrammar/Wort/Praeposition/Kasus/Akkusativ.html/url
+shortDiese Präposition erfordert den Akkusativ/short
+example type=correctDas ist für markerdie 
Bilder/marker./example
+example type=correctDas ist für markerden Menschen/marker 
unschädlich./example
+example type=incorrectDas ist für markerden 
Bildern/marker./example
+example type=incorrectDas ist für markerden 
Männern/marker./example
+  /rule
+/rulegroup
 rulegroup id=ART_ADJ_SOL name=Grammatik: Stark flektiertes Adjektiv 
nach Artikel, z.B. 'im heißem (heißen) Ofen'
   rule
 pattern mark_from=1 mark_to=0

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 

[LanguageTool] SF.net SVN: languagetool:[6847] trunk/JLanguageTool/src/rules/de/grammar. xml

2012-05-07 Thread janschreiber
Revision: 6847
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6847view=rev
Author:   janschreiber
Date: 2012-05-07 09:06:40 + (Mon, 07 May 2012)
Log Message:
---
[de] + some corrections

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

Modified: trunk/JLanguageTool/src/rules/de/grammar.xml
===
--- trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-07 08:57:02 UTC 
(rev 6846)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-07 09:06:40 UTC 
(rev 6847)
@@ -13752,7 +13752,7 @@
   tokenmir/token
 /pattern
 message'\1 \2' ist möglicherweise umgangssprachlich. Ersetzen durch 
suggestionmeinetwegen/suggestion?/message
-example type=incorrectmarkerWegen mir/marker ist sie zu spät 
gekommen./example
+example type=incorrect correction=MeinetwegenmarkerWegen 
mir/marker ist sie zu spät gekommen./example
 example type=correctmarkerMeinetwegen/marker ist sie zu spät 
gekommen./example
   /rule
   rule
@@ -13761,7 +13761,7 @@
   tokendir/token
 /pattern
 message'\1 \2' ist möglicherweise umgangssprachlich. Ersetzen durch 
suggestiondeinetwegen/suggestion?/message
-example type=incorrectmarkerWegen dir/marker komme ich zu 
spät./example
+example type=incorrect correction=DeinetwegenmarkerWegen 
dir/marker komme ich zu spät./example
 example type=correctmarkerDeinetwegen/marker komme ich zu 
spät./example
   /rule
   rule
@@ -13770,7 +13770,7 @@
   tokenihr/token
 /pattern
 message'\1 \2' ist möglicherweise umgangssprachlich. Ersetzen durch 
suggestionihretwegen/suggestion?/message
-example type=incorrectmarkerWegen ihr/marker komme ich zu 
spät./example
+example type=incorrect correction=IhretwegenmarkerWegen 
ihr/marker komme ich zu spät./example
 example type=correctmarkerIhretwegen/marker komme ich zu 
spät./example
   /rule
   rule
@@ -13779,7 +13779,7 @@
   tokenihnen/token
 /pattern
 message'\1 \2' ist möglicherweise umgangssprachlich. Ersetzen durch 
suggestionihretwegen/suggestion?/message
-example type=incorrectmarkerWegen Ihnen/marker komme ich zu 
spät./example
+example type=incorrect correction=IhretwegenmarkerWegen 
Ihnen/marker komme ich zu spät./example
 example type=correctmarkerIhretwegen/marker komme ich zu 
spät./example
   /rule
   rule
@@ -13788,7 +13788,7 @@
   tokenihm/token
 /pattern
 message'\1 \2' ist möglicherweise umgangssprachlich. Ersetzen durch 
suggestionseinetwegen/suggestion?/message
-example type=incorrectmarkerWegen ihm/marker komme ich zu 
spät./example
+example type=incorrect correction=SeinetwegenmarkerWegen 
ihm/marker komme ich zu spät./example
 example type=correctmarkerSeinetwegen/marker komme ich zu 
spät./example
   /rule
 /rulegroup

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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3524295 ] [de] false positives of DE_AGREEMENT rule

2012-05-07 Thread SourceForge . net
Bugs item #3524295, was opened at 2012-05-07 01:08
Message generated for change (Tracker Item Submitted) made by janschreiber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3524295group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Problem with German
Group: development version
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Schreiber (janschreiber)
Assigned to: Daniel Naber (dnaber)
Summary: [de] false positives of DE_AGREEMENT rule

Initial Comment:
I attach some false positives in a text file. Most conspicuously, the first two 
or three examples seem to show that 'wir' is treated as an article rather than 
a pronoun by this rule.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3524295group_id=110216

--
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3153545 ] OOo/LO: freeze on start up caused by LT

2012-05-07 Thread SourceForge . net
Bugs item #3153545, was opened at 2011-01-09 01:00
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3153545group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eugeny Shkrigunov (eshkrig)
Assigned to: Nobody/Anonymous (nobody)
Summary: OOo/LO: freeze on start up caused by LT

Initial Comment:
Hi!
Sorry for my English.

oocalc: list of fonts in dialogue Format Cells (menu Format - cells ... 
tab Font) opens very slowly (10 times) after installing LanguageTool.

Version:
LanguageTool 1.1, 1.2
OpenOffice.org 3.2.1 (OOO320m19 (Build: 9505), ooo-build 3.2.1.6)
Gentoo Linux amd64/10.0

--

Comment By: Daniel Naber (dnaber)
Date: 2012-05-06 03:06

Message:
See https://bugs.freedesktop.org/show_bug.cgi?id=35270 for debugging
updates

--

Comment By: Daniel Naber (dnaber)
Date: 2012-04-28 15:26

Message:
I have finally come up with a more detailed analysis: on each startup, the
slow method SvxLinguConfigUpdate::UpdateAll() is called. A comment in the
code suggests that this isn't needed anymore. Can we change the code like
the comment suggests in unolingu.cxx, line 395?

Here's in detail what happens:

doclay.cxx calls (*pLayIter)-GetCurrShell()-LayoutIdle();
layact.cxx calls ((SwTxtFrm*)pCnt)-_AutoSpell( pCntntNode, 
*pSh-GetViewOptions(), nTxtPos );
txtedt.cxx calls bSpell = xSpell.is() ? xSpell-hasLanguage( eActLang ) :
sal_False;
unolingu.cxx calls SpellDummy_Impl::GetSpell_Impl()
finally, SpellDummy_Impl::GetSpell_Impl() calls this:

if (SvxLinguConfigUpdate::IsNeedUpdateAll())
SvxLinguConfigUpdate::UpdateAll();

IsNeedUpdateAll() will return true, because
aLinguOpt.nDataFilesChangedCheckValue is -1 because
SvxLinguConfigUpdate::UpdateAll() will set it to -1, with a comment that
this is only needed to = OOo 3.0
(for the time being (developer builds until OOo 3.0)...). Thus after each
startup, SvxLinguConfigUpdate::UpdateAll() gets called which takes a few
seconds and blocks the machine.

Another question is why SvxLinguConfigUpdate::UpdateAll() is so slow and
blocks the machine. I haven't checked that out yet.


--

Comment By: Daniel Naber (dnaber)
Date: 2011-08-28 08:00

Message:
I just checked that the problem is not caused by the pure size of LT: if I
remove language resources that doesn't help.

--

Comment By: Daniel Naber (dnaber)
Date: 2011-08-28 07:52

Message:
Some analysis: on my machine, OOo (tested with 3.2.0) hangs 7 seconds. 1
second is because we initialize every language on startup. That will be
fixed in tomorrow's LT snaphot. The other 6 seconds is somewhere in OOo,
where it calls getLocales() more than 200 times. However, we answer that
call in less than 1ms. If we don't iterate and return all the locales we
support but only one, the hang is 3.5 seconds instead of 7 seconds.

--

Comment By: Daniel Naber (dnaber)
Date: 2011-08-14 06:34

Message:
Related bug reports at LibreOffice / OpenOffice.org:

http://bugs.freedesktop.org/show_bug.cgi?id=35270
http://bugs.freedesktop.org/show_bug.cgi?id=30762
http://openoffice.org/bugzilla/show_bug.cgi?id=116409
http://openoffice.org/bugzilla/show_bug.cgi?id=32279

--

Comment By: Yakovru (yakovru)
Date: 2011-03-22 22:38

Message:
Yes. This problem is stil there: OpenOffice 3.3.0 Windows
Reproduce as is in 1 comment If cursor is  in A1 cell.


--

Comment By: Eugeny Shkrigunov (eshkrig)
Date: 2011-03-16 11:51

Message:
I have no OpenOffice.
The problem is still there:
Gentoo, LibreOffice 3.3.1 (OOO330m19), sun-jdk-1.6.0.24


--

Comment By: Marcin Miłkowski (milek_pl)
Date: 2011-03-16 03:25

Message:
I cannot reproduce it with 3.3 stable (Windows XP, Java 6u20). Could you
check if it is still there?

--

Comment By: Yakovru (yakovru)
Date: 2011-01-12 08:01

Message:
OpenOffice.org bug 116409
http://www.openoffice.org/issues/show_bug.cgi?id=116409

--

Comment By: clio (oilc)
Date: 2011-01-10 14:05

Message:
I can confirm this with LT 1.1 + OOo 3.3.0rc8/LO 3.3.0rc2  + Ubuntu 10.o4 +
JRE6u20
To reproduce
1. Close OOo/LO completely
2. Open new Calc document
3. 

[LanguageTool] [ languagetool-Bugs-3523776 ] Overlap in rules results in wrong replacement

2012-05-07 Thread SourceForge . net
Bugs item #3523776, was opened at 2012-05-05 09:51
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3523776group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenOffice.org integration
Group: development version
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Jan Schreiber (janschreiber)
Assigned to: Marcin Miłkowski (milek_pl)
Summary: Overlap in rules results in wrong replacement

Initial Comment:
The German sentence
Die falle schnappte zu.
triggers two different rules. One of the rules should only mark 'falle', the 
other one 'falle schnappte'. Actually 'falle schnappte' is underlined. Now the 
suggestion 'Falle' from rule 1 is applied to the marked sequence 'falle 
schnappte' from rule 2, resulting in an undesired deletion of the word 
'schnappte'. This behavior is very confusing.

--

Comment By: Daniel Naber (dnaber)
Date: 2012-05-06 02:20

Message:
If two rules match, we create two error markups which might overlap.
LibreOffice cannot properly handle that. There are two ways to cope with
that: 

1. submit a bug report at LO with the example in this bug report. Set
László Németh on Cc (author of LightProof), as he is probably also
interested in fixing this. 

2. Work around the problem in LT by not creating duplicate markups (i.e.
filter matches). Provide a special version of LT that still shows the
problem for the LO developers so they can debug the issue. Jan, would you
like to submit a bug report at LO?


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3523776group_id=110216

--
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3037111 ] False grammar error alert if special apostrophe is used

2012-05-07 Thread SourceForge . net
Bugs item #3037111, was opened at 2010-07-30 07:05
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3037111group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Problem with German
Group: 1.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Lück (pax523)
Assigned to: Nobody/Anonymous (nobody)
Summary: False grammar error alert if special apostrophe is used

Initial Comment:
The grammar checker detects a non-existent grammar error in following sentence 
at the apostrophe's position:

Wie geht’s?

This bug does only occur if the special apostrophe generated by MS Word is used 
(decimal position in ANSI table: 146). The usual apostrophe (decimal position 
in ANSI: 39) works fine.

--

Comment By: Daniel Naber (dnaber)
Date: 2012-05-06 07:53

Message:
Should be fixed with the next nightly build

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3037111group_id=110216

--
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3380020 ] LibreOffice: Could not create Java implementation loader

2012-05-07 Thread SourceForge . net
Bugs item #3380020, was opened at 2011-07-27 08:49
Message generated for change (Settings changed) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3380020group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: jesteranime (jesteranime)
Assigned to: Nobody/Anonymous (nobody)
Summary: LibreOffice: Could not create Java implementation loader

Initial Comment:
During all attempts to install LanguageTool 1.4 into LibreOffice 3.3.3 I keep 
getting an error that says: Could not create Java implementation loader This 
computer has Windows 7 Home Premium and Java Version 6 update 26 loaded on it. 
All other specs are available on request.

--

Comment By: jesteranime (jesteranime)
Date: 2011-07-27 18:33

Message:
I have gone through the suggested website and I'm still having the same
issue.

--

Comment By: Daniel Naber (dnaber)
Date: 2011-07-27 11:18

Message:
Have you tried the suggestions at http://www.languagetool.org/issues/ ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3380020group_id=110216

--
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3037111 ] False grammar error alert if special apostrophe is used

2012-05-07 Thread SourceForge . net
Bugs item #3037111, was opened at 2010-07-30 07:05
Message generated for change (Settings changed) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3037111group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Problem with German
Group: 1.0
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Andreas Lück (pax523)
Assigned to: Nobody/Anonymous (nobody)
Summary: False grammar error alert if special apostrophe is used

Initial Comment:
The grammar checker detects a non-existent grammar error in following sentence 
at the apostrophe's position:

Wie geht’s?

This bug does only occur if the special apostrophe generated by MS Word is used 
(decimal position in ANSI table: 146). The usual apostrophe (decimal position 
in ANSI: 39) works fine.

--

Comment By: Daniel Naber (dnaber)
Date: 2012-05-06 07:53

Message:
Should be fixed with the next nightly build

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3037111group_id=110216

--
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] SF.net SVN: languagetool:[6849] trunk/JLanguageTool/src

2012-05-07 Thread dnaber
Revision: 6849
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6849view=rev
Author:   dnaber
Date: 2012-05-07 18:20:59 + (Mon, 07 May 2012)
Log Message:
---
fix false positive (#3524295), accepting that we now miss one real error

Modified Paths:
--
trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java

trunk/JLanguageTool/src/test/org/languagetool/rules/de/AgreementRuleTest.java

Modified: 
trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java
===
--- trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java   
2012-05-07 16:56:48 UTC (rev 6848)
+++ trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java   
2012-05-07 18:20:59 UTC (rev 6849)
@@ -115,7 +115,7 @@
 ich,
 du,
 er, sie, es,
-//wir,
+wir,
 mir,
 uns,
 ihnen,

Modified: 
trunk/JLanguageTool/src/test/org/languagetool/rules/de/AgreementRuleTest.java
===
--- 
trunk/JLanguageTool/src/test/org/languagetool/rules/de/AgreementRuleTest.java   
2012-05-07 16:56:48 UTC (rev 6848)
+++ 
trunk/JLanguageTool/src/test/org/languagetool/rules/de/AgreementRuleTest.java   
2012-05-07 18:20:59 UTC (rev 6849)
@@ -109,6 +109,7 @@
 assertGood(Das Bielefelder Radio.);
 assertGood(Das Gütersloher Radio.);
 assertGood(Das wirklich Wichtige kommt jetzt erst.);
+assertGood(Besonders wenn wir Wermut oder Absinth trinken.);
 
 // incorrect sentences:
 assertBad(Es sind die Tisch.);
@@ -135,9 +136,8 @@
 assertBad(Das Dach meinem großen Autos.);
 assertBad(Das Dach mein großen Autos.);
 
-assertBad(Erst recht wir fleißiges Arbeiter.);
-
 // TODO: not yet detected:
+//assertBad(Erst recht wir fleißiges Arbeiter.);
 //assertBad(Erst recht ich fleißiges Arbeiter.);
 //assertBad(Das Dach meine großen Autos.);
 //assertBad(Das Dach meinen großen Autos.);

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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] SF.net SVN: languagetool:[6850] trunk/JLanguageTool/src/rules/de/grammar. xml

2012-05-07 Thread janschreiber
Revision: 6850
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6850view=rev
Author:   janschreiber
Date: 2012-05-07 21:33:06 + (Mon, 07 May 2012)
Log Message:
---
[de] minor stuff

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

Modified: trunk/JLanguageTool/src/rules/de/grammar.xml
===
--- trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-07 18:20:59 UTC 
(rev 6849)
+++ trunk/JLanguageTool/src/rules/de/grammar.xml2012-05-07 21:33:06 UTC 
(rev 6850)
@@ -3601,28 +3601,8 @@
   !-- Eigennamen --
   !-- == 
--
   category name=Falschschreibung prominenter/geographischer Eigennamen
-!-- geographische Namen u.ä. --
-rule id=JOSEF_HAYDN name=Eigennamen: 'Josef (Joseph) Haydn'
-  pattern mark_to=-1 case_sensitive=yes
-tokenJosef/token
-token regexp=yesHaydns?/token
-  /pattern
-  messageMeinten Sie den Komponisten Franz 
suggestionJoseph/suggestion Haydn?/message
-  shorteigenname;/short
-  example type=correctmarkerJoseph/marker Haydn komponierte die 
Kaiserhymne./example
-  example type=incorrect correction=JosephmarkerJosef/marker 
Haydn komponierte die Kaiserhymne./example
-/rule
-rule id=HERMAN_REUTTER name=Eigennamen: 'Herman (Hermann) Reutter'
-  pattern mark_to=-1 case_sensitive=yes
-tokenHerman/token
-token regexp=yesReutters?/token
-  /pattern
-  messageMeinten Sie den Komponisten suggestionHermann/suggestion 
Reutter?/message
-  shorteigenname;/short
-  example type=correctmarkerHermann/marker Reutter komponierte die 
Melodie der Hymne an Deutschland./example
-  example type=incorrect correction=HermannmarkerHerman/marker 
Reutter komponierte die Melodie der Hymne an Deutschland./example
-/rule
-rule id=AM_REIN name=Eigennamen: 'am Rein (Rhein)'
+!-- geographische Namen u. ä. --
+rule id=AM_REIN name=Eigenname: 'am Rein (Rhein)'
   pattern mark_from=1 case_sensitive=yes
 tokenam/token
 tokenRein/token
@@ -3632,7 +3612,7 @@
   example type=correctWarum ist es am markerRhein/marker so 
schön?/example
   example type=incorrect correction=RheinWarum ist es am 
markerRein/marker so schön?/example
 /rule
-rule id=DOM_VS_DON name=Eigennamen: 'Kölner Don (Dom)' etc.
+rule id=DOM_VS_DON name=Eigenname: 'Kölner Don (Dom)' etc.
   pattern mark_from=1
 token 
regexp=yesAachener|Bremer|Erfurter|Freisinger|Hamburger|Hildesheimer|Kölner|Magdeburger|Münchner|Paderborner/token
 tokenDon/token
@@ -3642,7 +3622,7 @@
   example type=correctDer Kölner markerDom/marker ist das 
Wahrzeichen der Stadt./example
   example type=incorrect correction=DomDer Kölner 
markerDon/marker ist das Wahrzeichen der Stadt./example
 /rule
-rulegroup id=ROTHENBURG_VS_ROTENBURG name=Ortsnamen: 'Rotenburg 
(Rothenburg) ob der Tauber' etc.
+rulegroup id=ROTHENBURG_VS_ROTENBURG name=Ortsname: 'Rotenburg 
(Rothenburg) ob der Tauber' etc.
   rule
 pattern mark_to=-3
   tokenRothenburg/token
@@ -3773,7 +3753,7 @@
   example type=incorrect correction=LasDas ist jetzt der letzte 
Schrei in markerlas/marker Vegas./example
 /rule
 !-- Produktnamen --
-rulegroup id=OPENOFFICE name=Eigenname: 'OpenOffice (OpenOffice.org)'
+rulegroup id=OPENOFFICE name=Produktname: 'OpenOffice 
(OpenOffice.org)'
   rule
 pattern mark_from=1 mark_to=-1
   token negate=yesApache/token
@@ -3789,6 +3769,26 @@
   /rule
 /rulegroup
 !-- Prominente --
+rule id=JOSEF_HAYDN name=Eigenname: 'Josef (Joseph) Haydn'
+  pattern mark_to=-1 case_sensitive=yes
+tokenJosef/token
+token regexp=yesHaydns?/token
+  /pattern
+  messageMeinten Sie den Komponisten Franz 
suggestionJoseph/suggestion Haydn?/message
+  shorteigenname;/short
+  example type=correctmarkerJoseph/marker Haydn komponierte die 
Kaiserhymne./example
+  example type=incorrect correction=JosephmarkerJosef/marker 
Haydn komponierte die Kaiserhymne./example
+/rule
+rule id=HERMAN_REUTTER name=Eigenname: 'Herman (Hermann) Reutter'
+  pattern mark_to=-1 case_sensitive=yes
+tokenHerman/token
+token regexp=yesReutters?/token
+  /pattern
+  messageMeinten Sie den Komponisten suggestionHermann/suggestion 
Reutter?/message
+  shorteigenname;/short
+  example type=correctmarkerHermann/marker Reutter komponierte die 
Melodie der Hymne an Deutschland./example
+  example type=incorrect correction=HermannmarkerHerman/marker 
Reutter komponierte die Melodie der Hymne an Deutschland./example
+/rule
 rulegroup id=ABRAHAM_LINCOLN name=Eigenname: 'Abraham Linken 
(Lincoln)'
   !-- phonetische Schreibweise --
   rule
@@ -3845,7 +3845,7 @@
 messageMeinten