Revision: 7929
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7929&view=rev
Author:   jaumeortola
Date:     2012-08-26 21:49:04 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
[ca] Rule improved: no cal confondre/cal no confondre

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

Modified: trunk/JLanguageTool/.classpath
===================================================================
--- trunk/JLanguageTool/.classpath      2012-08-26 15:01:19 UTC (rev 7928)
+++ trunk/JLanguageTool/.classpath      2012-08-26 21:49:04 UTC (rev 7929)
@@ -41,7 +41,6 @@
        <classpathentry kind="lib" 
path="libs/lucene-analyzers-common-4.0.0-BETA.jar"/>
        <classpathentry kind="lib" path="libs/lucene-sandbox-4.0.0-BETA.jar"/>
        <classpathentry kind="lib" path="libs/junit-4.7.jar"/>
-       <classpathentry kind="lib" path="libs/jakarta-regexp-1.4.jar"/>
        <classpathentry kind="lib" path="libs/tika-core-0.9.jar"/>
        <classpathentry kind="lib" path="libs/ictclas4j-1.0.jar"/>
        <classpathentry kind="lib" path="libs/CJFtransform_v1.0.1_bin.jar"/>

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-08-26 15:01:19 UTC 
(rev 7928)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-08-26 21:49:04 UTC 
(rev 7929)
@@ -6444,15 +6444,16 @@
                 <example type="correct">No tenia cap dubte que sí.</example>
             </rule>
         </rulegroup>
-        <rule id="NO_CAL_OBLIDAR" name="no cal oblidat/cal no oblidar">
+        <rule id="NO_CAL_OBLIDAR" name="*no cal oblidar/cal no oblidar">
             <pattern>
                 <token>no</token>
                 <token inflected="yes">caldre</token>
-                <token>oblidar</token>
+                <token regexp="yes">oblidar|confondre</token>
             </pattern>
             <message>Potser volíeu dir <suggestion><match no="2" /> <match 
no="1" case_conversion="alllower" /> <match no="3" /></suggestion>.</message>
             <short>Suggeriment</short>
             <example type="incorrect"><marker>No cal oblidar</marker> que les 
coses són així.</example>
+            <example type="incorrect"><marker>No cal confondre</marker> les 
coses.</example>
             <example type="correct"><marker>Cal no oblidar</marker> que les 
coses són així.</example>
         </rule>
         <rule id="PAPER_SECANT" name="paper secant">

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