Revision: 8383
http://languagetool.svn.sourceforge.net/languagetool/?rev=8383&view=rev
Author: dnaber
Date: 2012-11-12 20:11:59 +0000 (Mon, 12 Nov 2012)
Log Message:
-----------
comment out some rules that didn't work anyway because of sentence splitting
(these rules produce a warning if CHECK_WITH_SENTENCE_SPLITTING is set to true
in PatternRuleTest)
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/de/grammar.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/nl/grammar.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pl/grammar.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/zh/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -2183,6 +2183,7 @@
</rule>
</rulegroup>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule id="V_KEMM" name="kemmadur ebet goude ar verb">
<pattern>
<token postag="V.*|X KAOUT2" postag_regexp="yes">
@@ -2206,6 +2207,7 @@
<example type="correct">Boutin eo ar c’hentelioù-noz</example>
<example type="correct">"N’ouzon ket" eme zTony.</example>
</rule>
+ -->
<rulegroup id="GER_KEMM" name="kemmadur ebet goude gerioù">
<rule>
@@ -2309,6 +2311,7 @@
<example type="correct">Ur gouel bras.</example>
<example type="correct">Gwelet em eus <marker>paot-mat</marker> a dud
eno.</example>
</rule>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule>
<pattern>
<token postag="N f s.*|N m p t.*" postag_regexp="yes"
regexp="yes">.*[lmnrvaeiouwy]
@@ -2318,8 +2321,8 @@
<token postag="J.*" postag_regexp="yes" inflected="yes"
regexp="yes">[ktp].*
<exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
<exception postag="J.*|K e sp o" postag_regexp="yes"
negate_pos="yes"/>
- <!-- bennak is marked as an adjective in the diction, it
- should be an adverb -->
+ - bennak is marked as an adjective in the diction, it
+ should be an adverb -
<exception>bennak</exception>
</token>
</marker>
@@ -2388,6 +2391,7 @@
<example type="correct">An amzer gaer</example>
<example type="correct">Mari gozh</example>
</rule>
+ -->
</rulegroup>
<rulegroup id="AR_PAOURKAEZH" name="Ar baourkaezh den → ar paourkaezh den">
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/de/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/de/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/de/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -20966,6 +20966,7 @@
<example type="incorrect" correction="Von Zeile 7 bis
11"><marker>Von Zeile 7 - 11</marker> wird geprüft, ob die Zahl eine Primzahl
ist.</example>
<example type="incorrect" correction="Von Zeile 7 bis
11"><marker>Von Zeile 7 – 11</marker> wird geprüft, ob die Zahl eine Primzahl
ist.</example>
</rule>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule>
<pattern case_sensitive="yes">
<token regexp="yes">[vV]o[nm]</token>
@@ -20980,6 +20981,7 @@
<example type="incorrect" correction="Vom 9. bis
10."><marker>Vom 9. – 10.</marker> April.</example>
<example type="incorrect" correction="vom 9. bis 10.">Und
<marker>vom 9. – 10.</marker> April.</example>
</rule>
+ -->
</rulegroup>
<rulegroup id="ANFUEHRUNG_KOMPOSITA" name="Zeichensetzung: Komposita
mit Anführungszeichen statt Bindestrichen, z.B. „Geht nicht“-Einstellung">
<rule>
@@ -21095,6 +21097,7 @@
<example type="incorrect" correction="»tolle«">Das ist eine
<marker>>>tolle<<</marker> Sache.</example>
</rule>
</rulegroup>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rulegroup id="ANFUEHRUNG_VERSCHACHTELT"
name="Zeichensetzung/Typographie: „Verschachtelte ‚Anführungszeichen‘“">
<rule>
<pattern>
@@ -21133,6 +21136,7 @@
<example type="incorrect" correction="›Anführungszeichen‹">Sie
sagte: »Verschachtelte <marker>»Anführungszeichen«</marker> sind kompliziert.«
Hier geht der Text weiter.</example>
</rule>
</rulegroup>
+ -->
<rulegroup id="AKZENT_STATT_APOSTROPH"
name="Zeichensetzung/Typographie: Akzent statt Apostroph">
<rule>
<pattern>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -2973,6 +2973,7 @@
<example type="correct">Mi intencas morgaŭ foriri.</example>
</rule>
</rulegroup>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rulegroup id="CXU_IRU" name="u-verbo sen subjekto en demando">
<rule>
<pattern>
@@ -3008,6 +3009,7 @@
<example type="correct">Kie <marker>aĉeti</marker> ĝin
hodiaŭ?</example>
</rule>
</rulegroup>
+ -->
<rule id="LA_VORTO" name="Netaŭga vorto post 'la'">
<pattern>
<token>la</token>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/nl/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/nl/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/nl/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -459,6 +459,7 @@
<example type="correct"><marker>Ad</marker> punt 5 wil ik nog iets
zeggen.</example>
</rule>
+<!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule id="nr813" name="eenheden zijn geen afkortingen">
<pattern case_sensitive="yes">
<marker>
@@ -473,6 +474,7 @@
<example type="correct">Het is 15 <marker>mm</marker> dik.</example>
</rule>
+-->
<rule id="nr814" name="afkorting vereist punt">
<pattern case_sensitive="yes">
<marker>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pl/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pl/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pl/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -8811,6 +8811,7 @@
<example type="correct">Ruda Śląska, Katow., Chorzów</example>
<example correction="Katow." type="incorrect">Ruda Śląska,
<marker>Ka-ce</marker>, Chorzów</example>
</rule>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule id="AD_KROPKA" name="„ad.” (ad)">
<pattern>
<marker>
@@ -8824,6 +8825,7 @@
<example type="correct">Ad 1.</example>
<example correction="Ad" type="incorrect"><marker>Ad.</marker>
1.</example>
</rule>
+ -->
<rulegroup id="LICZBY_SLOWNIE_SKROT" name="Skrótowy zapis liczb:
10-tka (dziesiątka) itd.">
<rule>
<pattern>
@@ -9807,6 +9809,7 @@
<example type="correct">Oto samochód nr 2.</example>
<example correction="nr 2" type="incorrect">Oto samochód
<marker>nr. 2</marker>.</example>
</rule>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule>
<pattern>
<token regexp="yes">\d+</token>
@@ -9822,6 +9825,7 @@
<example correction="gr" type="incorrect">Ten palmtop waży 100
<marker>gr.</marker>, jest więc bardzo lekki.</example>
<example type="correct">Apollo (gr. Apollon, zwany też Phoibos
"Jaśniejący")</example>
</rule>
+ -->
<rule>
<pattern>
<token
regexp="yes">dl|ml|dag|cm|dm|zł|kg|mln|mld|min|npl|pkt|pg|tg|cos|cosec|sec|sin|rkm|wg</token>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/zh/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/zh/grammar.xml
2012-11-12 19:55:09 UTC (rev 8382)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/zh/grammar.xml
2012-11-12 20:11:59 UTC (rev 8383)
@@ -16383,6 +16383,7 @@
</example>
<example
type="correct">我们要努力加强民众与政府的联系。</example>
</rule>
+ <!-- commented out because of the warning in PatternRuleTest if
CHECK_WITH_SENTENCE_SPLITTING = true
<rule>
<pattern>
<token skip="-1">克服</token>
@@ -16403,6 +16404,7 @@
</example>
<example
type="correct">考研所要克服的困难实在是很多。</example>
</rule>
+ -->
<rule>
<pattern>
<marker>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits