Revision: 7690
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7690&view=rev
Author:   jaumeortola
Date:     2012-07-10 21:09:35 +0000 (Tue, 10 Jul 2012)
Log Message:
-----------
[ca] New rule: SI_QUE

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-10 20:24:33 UTC 
(rev 7689)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-07-10 21:09:35 UTC 
(rev 7690)
@@ -1968,6 +1968,19 @@
                 <example type="correct"><marker>únicament</marker> i 
exclusivament</example>
             </rule>
         </rulegroup>
+        <rule id="SI_QUE" name="*sí m'agrada/sí que m'agrada">
+            <pattern>
+                <marker>
+                    <token skip="3">sí<exception postag="_GN_MS"/><exception 
postag="PP.*|P0.*|V.*|_GV_|SENT_END" scope="next" postag_regexp="yes" 
negate_pos="yes"/></token>
+                </marker>
+                <token postag="V.[MIS].*" postag_regexp="yes"/>
+            </pattern>
+            <message>Cal dir: <suggestion>sí que</suggestion>.</message>
+            <example type="incorrect">Tu <marker>sí</marker> hauries respost 
bé.</example>
+            <example type="incorrect">Tu <marker>sí</marker> li hauries 
respost bé.</example>
+            <example type="correct">Tu sí que hauries respost bé.</example>
+            <example type="correct">El sí va acompanyat de dubtes.</example>
+        </rule>
     </category>
     <category name="Preposicions">
         <rulegroup id="MALGRAT" name="malgrat (que)">

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