Revision: 9305
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9305&view=rev
Author:   jaumeortola
Date:     2013-02-06 17:41:38 +0000 (Wed, 06 Feb 2013)
Log Message:
-----------
[ca] Fixed false negative in rule EL_INFINITIU

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
    
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml

Modified: 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
      2013-02-06 16:52:15 UTC (rev 9304)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
      2013-02-06 17:41:38 UTC (rev 9305)
@@ -6205,7 +6205,7 @@
                         <token postag="NCMS.*" postag_regexp="yes"><exception 
regexp="yes">\p{Lu}.+|ésser|militar|boiar|metre</exception></token>
                     </and>
                 </marker>
-                <token><exception 
postag="_PUNCT.*|CC|SPS00|AQ0[MC][SN]0|V.P.*SM|V.[SI].*|_GV_|P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
 postag_regexp="yes"/></token>   
+                <token postag="SPS00"/>   
             </pattern>
             <disambig action="filter" postag="V.N.*" />
         </rule>
@@ -6213,6 +6213,18 @@
             <pattern>
                 <marker>
                     <and>
+                        <token postag="V.N.*" postag_regexp="yes"></token>
+                        <token postag="NCMS.*" postag_regexp="yes"><exception 
regexp="yes">\p{Lu}.+|ésser|militar|boiar|metre</exception></token>
+                    </and>
+                </marker>
+                <token><exception 
postag="_PUNCT.*|CC|AQ0[MC][SN]0|V.P.*SM|V.[SI].*|_GV_|P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
 postag_regexp="yes"/></token>   
+            </pattern>
+            <disambig action="filter" postag="V.N.*" />
+        </rule>
+        <rule>
+            <pattern>
+                <marker>
+                    <and>
                         <token postag="V.N.*" postag_regexp="yes"/>
                         <token postag="NCMS.*" postag_regexp="yes"/>
                     </and>

Modified: 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-02-06 16:52:15 UTC (rev 9304)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-02-06 17:41:38 UTC (rev 9305)
@@ -15951,6 +15951,7 @@
                 <example type="correct">Per altra banda el saber que mobilitza 
la literatura no és complet</example>  
                 <example type="incorrect">M'interessa <marker>el 
poder</marker> fer coses noves.</example>
                 <example type="incorrect">admet <marker>el ser</marker> 
utilitzada per a substàncies irritants</example>
+                <example type="incorrect"><marker>el viure</marker> en 
posicions polítiques marginals</example>
                 <example type="correct">És bo saber-ho.</example>
                 <example type="correct">El poder l'ha trastocat.</example>
                 <example type="correct">a la salut mental, el poder i el 
plaer</example>

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


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to