Revision: 10489
          http://sourceforge.net/p/languagetool/code/10489
Author:   jaumeortola
Date:     2013-07-11 15:32:54 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
[ca] Fixed false alarms.

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.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-07-11 15:11:41 UTC (rev 10488)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
      2013-07-11 15:32:54 UTC (rev 10489)
@@ -2669,36 +2669,24 @@
             </pattern>
             <disambig action="add"><wd pos="_obligacio" 
lemma="haver"></wd></disambig>
         </rule>
-        <!-- <rule>
+        <rule>
             <pattern>
-                <token inflected="yes" skip="5">haver</token>
                 <marker>
-                    <token regexp="yes">de|d'</token>
+                       <token inflected="yes">haver<exception 
postag="_obligacio"/></token>
                 </marker>
+                <token skip="3" regexp="yes">de|d'</token>
                 <token postag="V.N.*" postag_regexp="yes"/>
             </pattern>
             <disambig action="add"><wd pos="_obligacio" 
lemma="haver"></wd></disambig>
-        </rule> -->
+        </rule>
         <rule>
             <pattern>
                 <marker>
-                       <token inflected="yes">haver</token>
+                       <token postag="_obligacio" inflected="yes">haver</token>
                 </marker>
-                <token skip="3">de</token>
-                <token postag="V.N.*" postag_regexp="yes"/>
             </pattern>
-            <disambig action="add"><wd pos="_obligacio" 
lemma="haver"></wd></disambig>
+            <disambig action="filter" postag="VA.*|_obligacio"></disambig>
         </rule>
-        <!-- <rule>
-            <pattern>
-                <token inflected="yes">haver</token>
-                <marker>
-                    <token skip="3">de</token>
-                </marker>
-                <token postag="V.N.*" postag_regexp="yes"/>
-            </pattern>
-            <disambig action="add"><wd pos="_obligacio" 
lemma="haver"></wd></disambig>
-        </rule> -->
     </rulegroup>
     <rulegroup id="NUCLIS_VERBALS" name="nuclis verbals amb noms">
         <rule>
@@ -3754,7 +3742,7 @@
         <rule>
             <pattern>
                 <marker>
-                    <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement" 
postag_regexp="yes" negate_pos="yes"/></token>
+                    <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement|_obligacio"
 postag_regexp="yes" negate_pos="yes"/></token>
                 </marker>
                 <token postag="V.N.*" postag_regexp="yes"/>
             </pattern>
@@ -3762,7 +3750,7 @@
         </rule>
         <rule>
             <pattern>
-                <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement" 
postag_regexp="yes" negate_pos="yes"/></token>
+                <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement|_obligacio"
 postag_regexp="yes" negate_pos="yes"/></token>
                 <marker>
                     <token postag="V.N.*" postag_regexp="yes"></token>
                 </marker>
@@ -3772,7 +3760,7 @@
         <rule>
             <pattern>
                 <marker>
-                    <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement" 
postag_regexp="yes" negate_pos="yes"/></token>
+                    <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement|_obligacio"
 postag_regexp="yes" negate_pos="yes"/></token>
                 </marker>
                 <token postag="V.N.*" postag_regexp="yes"></token>
             </pattern>
@@ -3780,7 +3768,7 @@
         </rule>
         <rule>
             <pattern>
-                <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement" 
postag_regexp="yes" negate_pos="yes"/></token>
+                <token postag="VA.*" postag_regexp="yes" inflected="yes" 
skip="5">anar<exception scope="next" 
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement|_obligacio"
 postag_regexp="yes" negate_pos="yes"/></token>
                 <marker>
                     <token postag="V.N.*" postag_regexp="yes"></token>
                 </marker>

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to