Revision: 7930
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7930&view=rev
Author:   jaumeortola
Date:     2012-08-26 22:36:29 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
[ca] new rule: ACABAR + GERUNDI

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-08-26 21:49:04 UTC 
(rev 7929)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-08-26 22:36:29 UTC 
(rev 7930)
@@ -1257,6 +1257,18 @@
             </rule>
         </rulegroup>
         <rulegroup id="PERIFRASIS" name="Perífrasis d'obligació i de dubte">
+            <rule id="ACABAR_GERUNDI" name="*acabà fer/acabà fent">
+                <pattern>
+                    <token inflected="yes">acabar</token>
+                    <marker>
+                        <token postag="V.N.*" postag_regexp="yes"></token>
+                    </marker>
+                </pattern>
+                <message>Perífrasi verbal incorrecta: <suggestion><match 
no="2" postag="(..)(.+)" postag_regexp="yes" 
postag_replace="$1G0000"></match></suggestion>.</message>
+                <example type="incorrect">Va acabar 
<marker>dedicar</marker>-li l'obra.</example>
+                <example type="correct">Acabà dedicant-li l'obra.</example>
+                <example type="correct">Per acabar farem això.</example>
+            </rule>
             <rule id="HI_HA_QUE" name="Incorrecte: «haver-hi que»">
                 <pattern>
                     <marker>

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