Revision: 8088
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8088&view=rev
Author:   jaumeortola
Date:     2012-09-23 14:28:27 +0000 (Sun, 23 Sep 2012)
Log Message:
-----------
[ca] rule improved: COMPLERT_COMPLET

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-09-23 14:11:48 UTC (rev 8087)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-09-23 14:28:27 UTC (rev 8088)
@@ -3557,17 +3557,20 @@
         </rulegroup>
         <rule id="COMPLERT_COMPLET" name="complert/complet">
             <pattern>
-                <token><exception inflected="yes" 
regexp="yes">haver|considerar</exception></token>
+                <token><exception inflected="yes" 
regexp="yes">haver|considerar</exception><exception 
regexp="yes">deures?|promes(a|es)|objectius?</exception></token>
                 <marker>
-                    <token regexp="yes">complert(a|s|es)?</token>
+                    <token regexp="yes">(in)?complert(a|s|es)?</token>
                 </marker>
             </pattern>
-            <message>Si no és del verb complir, és <suggestion><match no="2" 
regexp_match="complert(.*)" 
regexp_replace="complet$1"></match></suggestion>.</message>
-            <short>Incorrecte si no és del verb complir.</short>
-            <example type="incorrect">La família 
<marker>complerta</marker>.</example>
-            <example type="correct">La família completa.</example>
+            <message>Si no és del verb <match no="2" postag="(V.+)" 
postag_regexp="yes" postag_replace="V.N.*"/>, cal dir <suggestion><match no="2" 
regexp_match="(.*)complert(.*)" 
regexp_replace="$1complet$2"></match></suggestion>.</message>
+            <example type="incorrect" correction="completa">La família 
<marker>complerta</marker>.</example>
+            <example type="incorrect" correction="incomplet">és un llibre 
<marker>incomplert</marker>.</example>
             <example type="correct">que no hagin complert vuitanta 
anys.</example>
             <example type="correct">consideraven complert el seu 
deure.</example>
+            <example type="correct">han incomplert el seu deure.</example>
+            <example type="correct">són promeses incomplertes.</example>
+            <example type="correct">es presenta amb els deures 
complerts.</example>
+            <example type="correct">Objectiu complert!</example>
         </rule>
         <rule id="CON_A" name="com a/con a">
             <pattern>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to