Revision: 7772
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7772&view=rev
Author:   jaumeortola
Date:     2012-07-29 06:55:14 +0000 (Sun, 29 Jul 2012)
Log Message:
-----------
[ca] New rule: CONFUSIO_PARTICIPI_INFINITIU.

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

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-07-28 18:16:54 UTC 
(rev 7771)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-07-29 06:55:14 UTC 
(rev 7772)
@@ -1645,7 +1645,7 @@
             <example type="incorrect">No <marker>composa</marker> 
mai.</example>
             <example type="correct">No <marker>compon</marker> mai.</example>
         </rule>
-        <rule id="VAREM_INFINITIU" name="Errors en el passat compost">
+        <rule id="VAREM_INFINITIU" name="Errors d'accentuació en el passat 
compost (*varem/vàrem)">
             <pattern>
                 <marker>
                     <token regexp="yes">varem|vareu</token>
@@ -1657,6 +1657,19 @@
             <example type="incorrect"><marker>Varem</marker> dir.</example>
             <example type="correct"><marker>Vàrem</marker> dir.</example>
         </rule>
+        <rule id="CONFUSIO_PARTICIPI_INFINITIU" name="Nom + adverbi + 
participi: un país secularment *humanitzar/humanitzat">
+            <pattern>
+                <token postag="N.[MC][SN].*" postag_regexp="yes"/>
+                <token postag="RG"/>
+                <marker>
+                    <token postag="V.[GN].*" postag_regexp="yes"/>
+                </marker>
+            </pattern>
+            <message>Potser vols dir <suggestion><match no="3" 
postag="VMP00SM"/></suggestion>.</message>
+            <short>Possible confusió</short>
+            <example type="incorrect">un país secularment 
<marker>humanitzar</marker> com el nostre</example>
+            <example type="correct">un país secularment humanitzat com el 
nostre</example>
+        </rule>
         <!-- Només funciona per a algunes situacions: van beguts, considerin 
oportú. <rulegroup id="concorda_verb_objecte" name="Comprova concordança: verb 
+ participi/adjectiu">
 <rule>
 <pattern mark_from="0" 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 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

Reply via email to