Revision: 7509
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7509&view=rev
Author:   jaumeortola
Date:     2012-06-25 22:57:20 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
[ca] Fixed some false alarms.

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

Modified: trunk/JLanguageTool/src/resource/ca/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-06-25 
22:29:21 UTC (rev 7508)
+++ trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-06-25 
22:57:20 UTC (rev 7509)
@@ -29,7 +29,7 @@
                 <marker>
                     <token regexp="yes">enmig|entorn</token>
                 </marker>
-                <token regexp="yes">de|del|dels|d'</token>
+                <token inflected="yes">de</token>
             </pattern>
             <disambig action="add"><wd lemma="enmig de" 
pos="&lt;LOC_PREP&gt;"></wd></disambig>
         </rule>
@@ -37,7 +37,7 @@
             <pattern>
                 <token regexp="yes">enmig|entorn</token>
                 <marker>
-                    <token regexp="yes">de|del|dels|d'</token>
+                    <token inflected="yes">de</token>
                 </marker>
             </pattern>
             <disambig action="add"><wd lemma="enmig de" 
pos="&lt;/LOC_PREP&gt;"></wd>
@@ -698,8 +698,20 @@
             </pattern>
             <disambig action="filter" postag="&lt;LOC_PREP&gt;" />
         </rule>
-         <rule>
+        <rule> <!-- cal controlar les excepcions -->
             <pattern>
+                <token negate="yes">que</token>
+                <marker>
+                    <and>
+                        <token postag="N.*" 
postag_regexp="yes">respecte</token>
+                        <token postag="V.*" postag_regexp="yes"></token>
+                    </and>
+                </marker>
+            </pattern>
+            <disambig action="filter" postag="N.*" />
+        </rule>
+        <rule>
+            <pattern>
                 <token postag="V.[IS].*" postag_regexp="yes"></token>
                 <marker>
                     <and>
@@ -850,7 +862,7 @@
             <pattern>
                 <token postag="N.*" postag_regexp="yes"><exception 
postag="[NA].*" postag_regexp="yes" negate_pos="yes" /></token>
                 <marker>
-                    <token 
regexp="yes">propietat|consort|mare|web|alfa|beta|gamma|lambda|font|hivernacle|euro|tipus|clau|membre|núm|número|matriu|estàndard|estrella|model</token>
+                    <token 
regexp="yes">propietat|consort|mare|web|alfa|beta|gamma|lambda|font|hivernacle|euro|tipus|clau|membre|núm|número|matriu|estàndard|estrella|model|base</token>
                 </marker>
             </pattern>
             <disambig action="filter" postag="AQ0CN0" />
@@ -1087,6 +1099,27 @@
             </pattern>
             <disambig action="add"><wd pos="_GV_"></wd></disambig>
         </rule>
+        <!-- haver + estat + participi --> 
+        <rule>
+            <pattern>
+                <token inflected="yes">haver</token>
+                <token postag="V.P.*" postag_regexp="yes" 
inflected="yes">ser</token>
+                <marker>
+                    <token postag="V.P.*" postag_regexp="yes"></token>
+                </marker>
+            </pattern>
+            <disambig action="filter" postag="V.P.*"></disambig>
+        </rule>
+        <rule>
+            <pattern>
+                <token inflected="yes">haver</token>
+                <token postag="V.P.*" postag_regexp="yes" 
inflected="yes">ser</token>
+                <marker>
+                    <token postag="V.P.*" postag_regexp="yes"></token>
+                </marker>
+            </pattern>
+            <disambig action="add"><wd pos="_GV_"></wd></disambig>
+        </rule>
     </rulegroup>
      <rulegroup id="haver_hi_auxiliar" name="haver-hi auxiliar">
         <rule>
@@ -1841,9 +1874,22 @@
         <disambig action="filter" postag="[^V].*"></disambig>
         <!-- les dues meitats dreta i esquerra (A+N+V)-->
     </rule>
+    <rule id="verb_nom_sentstart2" name="verb i nom a principi de frase">
+        <pattern>
+            <token regexp="yes">,|;</token>
+            <marker>
+                <and>
+                    <token postag="V.[IS].*" postag_regexp="yes"></token>
+                    <token postag="NC.*" postag_regexp="yes"></token>
+                </and>
+            </marker>
+            <token inflected="yes" regexp="yes">de|entre</token>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>
     <rule id="verb_nomverb0" name="verb + verb/no_verb">
         <pattern>
-            <token postag="V.[MIS].*" postag_regexp="yes"><exception 
postag="V.[MIS].*" postag_regexp="yes" negate_pos="yes"/></token>
+            <token postag="V.[NMIS].*" postag_regexp="yes"><exception 
postag="V.[NMIS].*|complement" postag_regexp="yes" negate_pos="yes"/></token>
             <marker>
                 <and>
                     <token postag="V.[IS].*" postag_regexp="yes"><exception 
postag="DI.*" postag_regexp="yes"/></token> <!-- no té cap quantitat -->
@@ -3321,7 +3367,7 @@
             <disambig action="filter" postag="V.[^MNPG].*"></disambig>
         </rule>
     </rulegroup>
-    <rule id="noVerb2" name="no Verb conjugat darrere de preposició">
+    <rule id="PREP_VERB" name="no Verb conjugat darrere de preposició">
         <!-- "de sumes": "sumes" no és verb. Mogut per "En forma part". Mogut 
amunt per "d'escriptura comú" -->
         <pattern>
             <token postag="SP.*|.*LOC_PREP.*" postag_regexp="yes"><exception 
postag="PP.*|P0.*" postag_regexp="yes" /></token>
@@ -3334,7 +3380,7 @@
         </pattern>
         <disambig action="filter" postag="[^V].*"></disambig>
     </rule>
-    <rule id="noVerb3" name="no Verb conjugat darrere de preposició i article">
+    <rule id="PREP_ART_VERB" name="no Verb conjugat darrere de preposició i 
article">
         <!-- "a l'esquerra": "esquerra" no és verb . Mogut per "De les dites 
baronies"-->
         <pattern>
             <token postag="SP.*" postag_regexp="yes"></token>
@@ -3342,7 +3388,7 @@
             <marker>
                 <and>
                     <token postag="N.*" postag_regexp="yes"></token>
-                    <token postag="V.[^NGP].*" postag_regexp="yes" 
negate_pos="yes"></token>
+                    <token postag="V.[^NGP].*" postag_regexp="yes"></token>
                 </and>
             </marker>
         </pattern>
@@ -4189,6 +4235,47 @@
         </pattern>
         <disambig action="filter" postag="SP.*"></disambig>
     </rule>
+    <rule id="PREP_VERBbis" name="no Verb conjugat darrere de preposició">
+        <!-- "de sumes": "sumes" no és verb. Mogut per "En forma part". Mogut 
amunt per "d'escriptura comú" -->
+        <pattern>
+            <token postag="SP.*|.*LOC_PREP.*" postag_regexp="yes"><exception 
postag="PP.*|P0.*" postag_regexp="yes" /></token>
+            <marker>
+                <and>
+                    <token postag="N.*" postag_regexp="yes"></token>
+                    <token postag="V.[^NGP].*" postag_regexp="yes"></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>
+    <rule id="PREP_ART_VERBbis" name="no Verb conjugat darrere de preposició i 
article">
+        <!-- "a l'esquerra": "esquerra" no és verb . Mogut per "De les dites 
baronies"-->
+        <pattern>
+            <token postag="SP.*" postag_regexp="yes"></token>
+            <token postag="DA.*" postag_regexp="yes"></token>
+            <marker>
+                <and>
+                    <token postag="N.*" postag_regexp="yes"></token>
+                    <token postag="V.[^NGP].*" postag_regexp="yes"></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>
+    <!-- "en contacte" és verb o nom?  -->
+    <rule id="EN_VerbNom" name="verb/nom darrere de preposició en">
+        <pattern>
+            <token negate="yes">que</token>
+            <token>en</token>
+            <marker>
+                <and>
+                    <token postag="N.*" postag_regexp="yes" 
regexp="yes"></token>
+                    <token postag="V.[^NGP].*" postag_regexp="yes" 
negate_pos="yes"></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>  
     <rulegroup id="PP_VERB" name="pronom personal seguit de verb">
         <!-- pronom personal + verb. Mogut per "en obres properes" -->
         <!-- estudiar concordances de persona i nombre!!!!!! <exception 
postag="D.*" postag_regexp="yes"/> -->
@@ -4219,7 +4306,7 @@
             <!--creat per "ens ensenya"-->
             <pattern>
                 <marker>
-                    <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception>si</exception><exception postag="DA.*" 
postag_regexp="yes" /></token>
+                    <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception>si</exception><exception postag="DA.*" 
postag_regexp="yes" /><exception postag="P0.*|PP.*" postag_regexp="yes" 
regexp="yes">['-].+</exception></token>
                 </marker>
                 <token postag="V.[SI].*" postag_regexp="yes"></token>
             </pattern>
@@ -4227,7 +4314,7 @@
         </rule>
         <rule>
             <pattern>
-                <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception>si</exception><exception postag="DA.*" 
postag_regexp="yes" /></token>
+                <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception>si</exception><exception postag="DA.*" 
postag_regexp="yes" /><exception postag="P0.*|PP.*" postag_regexp="yes" 
regexp="yes">['-].+</exception></token>
                 <marker>
                     <token postag="V.[SI].*" postag_regexp="yes"></token>
                 </marker>
@@ -4336,12 +4423,11 @@
         </pattern>
         <disambig action="filter" postag="A.*|V.P.*"></disambig>
     </rule>   
-    <!-- ací: regles de desambiguació ViAiN -->
-    <rule id="ViAiN" name="verb i adjectiu i nom: verb">
+    <rule id="VerbNomAdj" name="verb i adjectiu i nom: verb">
         <pattern>
             <marker>
                 <and>
-                    <token postag="A.*|V.P.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /></token>
+                    <token postag="A.*|V.P.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception 
regexp="yes">[\p{Ll}·]+(e|[aei]sses|[ae]res|era)</exception></token>
                     <token postag="V.[SI].*" postag_regexp="yes"><exception 
postag="_GV_" /></token>
                     <token postag="N.*" postag_regexp="yes"></token>
                 </and>
@@ -4349,28 +4435,111 @@
         </pattern>
         <disambig action="filter" postag="V.*"></disambig>
     </rule>
+    <rule id="VerbNomAdj_valencians1" name="verb (valencià) i nom que no ha 
concordat"> 
+        <pattern>
+            <token>que</token>
+            <marker>
+                <and>
+                    <token postag="N.*" postag_regexp="yes"></token> 
+                    <token postag="A.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="V.*"></disambig>
+    </rule>
+    
+    <rule id="VerbNomAdj_valencians2" name="verb (valencià) i nom que no ha 
concordat">
+    <!-- després de totes les comprovacions, donem prioritat al nom o a 
l'adjectiu sobre la forma verbal valenciana --> 
+        <pattern>
+            <token postag="N.*|A.*" postag_regexp="yes" 
negate_pos="yes"><exception postag="N.*|A.*" postag_regexp="yes"/></token>
+            <marker>
+                <and>
+                    <token postag="N.*" postag_regexp="yes"></token> 
+                    <token postag="A.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>    
+    
     <rule id="VerbNom" name="verb i nom que no ha concordat"> <!-- Això fou 
estrany -->
         <pattern>
+             <token postag="V.[MSI].*|_GV_" postag_regexp="yes" 
negate_pos="yes"><exception postag="V.[MSI].*|_GV_" 
postag_regexp="yes"/></token>
             <marker>
                 <and>
-                    <token postag="NC.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /><exception>respecte</exception></token>
-                    <token postag="V.[SI].*" postag_regexp="yes"><exception 
postag="_GV_" /></token>
+                    <token postag="NC.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes"><exception 
postag="_GV_" /><exception regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception 
regexp="yes">[\p{Ll}·]+(e|[aei]sses|[ae]res|era)</exception></token>
+                    <!-- problema: els noms acabats en -e no tenen comprovació 
de concordança!!  -->
                 </and>
             </marker>
         </pattern>
         <disambig action="filter" postag="V.*"></disambig>
     </rule>
+    <rule id="VerbNom_valencians1" name="verb (valencià) i nom que no ha 
concordat"> 
+        <pattern>
+            <token>que</token>
+            <marker>
+                <and>
+                    <token postag="NC.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="V.*"></disambig>
+    </rule>
+    
+    <rule id="VerbNom_valencians2" name="verb (valencià) i nom que no ha 
concordat">
+    <!-- després de totes les comprovacions, donem prioritat al nom sobre la 
forma verbal valenciana --> 
+        <pattern>
+            <token postag="N.*" postag_regexp="yes" 
negate_pos="yes"><exception postag="N.*" postag_regexp="yes"/></token>
+            <marker>
+                <and>
+                    <token postag="NC.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>
     <rule id="VerbAdjectiu" name="verb i adjectiu que no ha concordat"> <!-- 
fer exàmens -->
         <pattern>
             <marker>
                 <and>
-                    <token postag="A.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /></token>
+                    <token postag="A.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" /><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception 
regexp="yes">[\p{Ll}·]+(e|[aei]sses|[ae]res|era)</exception></token>
                     <token postag="V.*" postag_regexp="yes"><exception 
postag="_GV_" /></token>
                 </and>
             </marker>
         </pattern>
         <disambig action="filter" postag="V.*"></disambig>
     </rule>
+    <rule id="VerbAjectiu_valencians1" name="verb (valencià) i nom que no ha 
concordat"> 
+        <pattern>
+            <token>que</token>
+            <marker>
+                <and>
+                    <token postag="A.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="V.*"></disambig>
+    </rule>
+    
+    <rule id="VerbAdj_valencians2" name="verb (valencià) i nom que no ha 
concordat">
+    <!-- després de totes les comprovacions, donem prioritat al nom sobre la 
forma verbal valenciana --> 
+        <pattern>
+            <token postag="A.*" postag_regexp="yes" 
negate_pos="yes"><exception postag="N.*" postag_regexp="yes"/></token>
+            <marker>
+                <and>
+                    <token postag="A.*" postag_regexp="yes"></token>
+                    <token postag="V.[MSI].*" postag_regexp="yes" 
regexp="yes">.+e|.+[aei]sses|.+[ae]res|.+era<exception postag="_GV_" /></token>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^V].*"></disambig>
+    </rule>    
     <!-- verb + adj/verb  Havien estat ocultes. Mogut per: cap historiador 
reputat accepta aquesta teoria -->
     <rule id="verb_nom2" name="verb + adjectiu">
         <pattern>
@@ -4590,7 +4759,7 @@
             <marker>
                 <and>
                     <token postag="SPS.*" postag_regexp="yes"></token>
-                    <token postag="N.*" postag_regexp="yes"></token>
+                    <token postag="N.*" postag_regexp="yes"><exception 
postag="_GN.*" postag_regexp="yes" /></token>
                 </and>
             </marker>
         </pattern>
@@ -4657,7 +4826,7 @@
         <pattern>
             <marker>
                 <and>
-                    <token postag="PP.*|P0.*" postag_regexp="yes" 
negate_pos="yes"><exception 
regexp="yes">jo|tu|ella?|nosaltres|vosaltres|elle?s|vostès?|vós</exception></token>
+                    <token postag="PP.*|P0.*" postag_regexp="yes" 
negate_pos="yes"><exception 
regexp="yes">jo|tu|ella?|nosaltres|vosaltres|elle?s|vostès?|vós</exception><exception
 postag="SENT_END"/></token>
                     <token postag="PP.*|P0.*" postag_regexp="yes"><exception 
postag="_GV_" /></token>
                 </and>
             </marker>

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-25 22:29:21 UTC 
(rev 7508)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-25 22:57:20 UTC 
(rev 7509)
@@ -2,8 +2,8 @@
 <?xml-stylesheet type="text/xsl" href="../print.xsl" title="Pretty print" ?>
 <?xml-stylesheet type="text/css" href="../rules.css" title="Easy editing 
stylesheet" ?>
 <!--
-Catalan Grammar and Typo Rules for LanguageTool Copyright 
-(C) 2012 Jaume Ortolà i Font
+Catalan Grammar and Typo Rules for LanguageTool 
+Copyright (C) 2012 Jaume Ortolà i Font
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -19,7 +19,7 @@
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 
- $Id$
+$Id$
 -->
 <rules lang="ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="../rules.xsd">
     <unification feature="nombre">
@@ -1439,8 +1439,8 @@
                 <!-- afegir CS a l'excepció??, però no "si" -->
                     <token postag="SENT_START" skip="-1"><exception 
postag="PR.*" postag_regexp="yes" scope="next"/><exception 
scope="next">perquè</exception></token>
                     <marker>
-                        <token postag="V.[IS].*|_GV_" 
postag_regexp="yes"><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception postag="RG|_GN.*" 
postag_regexp="yes" /><exception postag="PP.*|P0.*" 
postag_regexp="yes"/></token>
-                        <token postag="V.[IS].*" 
postag_regexp="yes"><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception postag="RG|_GN.*" 
postag_regexp="yes"/></token>
+                        <token postag="V.[MIS].*|_GV_" 
postag_regexp="yes"><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception postag="RG|_GN.*" 
postag_regexp="yes" /><exception postag="PP.*|P0.*" 
postag_regexp="yes"/></token>
+                        <token postag="V.[MIS].*" 
postag_regexp="yes"><exception 
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception postag="RG|_GN.*" 
postag_regexp="yes"/></token>
                     </marker>
                 </pattern>
                 <message>Atenció: verbs pròxims.</message>
@@ -2036,8 +2036,8 @@
                 </pattern>
                 <message>Potser és: <suggestion>com a</suggestion>.</message>
                 <short>Confusió.</short>
-                <example type="incorrect">Espanya <marker>coma</marker> força 
estrangera.</example>
-                <example type="correct">Espanya com a força 
estrangera.</example>
+                <example type="incorrect">Anglaterra <marker>coma</marker> 
força estrangera.</example>
+                <example type="correct">Anglaterra com a força 
estrangera.</example>
             </rule>
             <rule>
                 <pattern>
@@ -3860,7 +3860,7 @@
             </rule>
         </rulegroup>
     </category>
-    <category name="A1) Exigeix formes del català central" default="off">
+    <category name="A1) Exigeix formes del català central" default="on">
         <!-- Evita formes no valencianes -->
         <rulegroup id="EVITA_ACCENTUACIO_VALENCIANA" name="Evita l'accentuació 
valenciana no general (café, sotmés, conéixer, térbol)">
             <rule>
@@ -3939,7 +3939,7 @@
         <rulegroup id="EVITA_VERBS_VALENCIANS" name="Evita verbs valencians 
(pense, diga, patisca, patesca, patix, cantara)">
             <rule>
                 <pattern>
-                    <token postag="V.[^N].*" postag_regexp="yes" 
regexp="yes">.+e<exception postag="_GN.*|V.N.*|N.*" postag_regexp="yes" 
/><exception regexp="yes">he|ve|obre|.*corre</exception></token>
+                    <token postag="V.[^N].*" postag_regexp="yes" 
regexp="yes">.+e<exception postag="_GN.*|V.N.*|N.*" postag_regexp="yes" 
/><exception regexp="yes">he|ve|.*obre|.*omple|.*corre</exception></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <!-- per a fer suggeriments cal mirar les conjugacions-->
@@ -3949,7 +3949,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.S.*" postag_regexp="yes" 
regexp="yes">.+(a|en?)<exception postag="N.*|V.I.*" postag_regexp="yes" 
/></token>
+                    <token postag="V.S.*" postag_regexp="yes" 
regexp="yes">.+(a|en?)<exception postag="_GN.*|N.*|V.I.*" postag_regexp="yes" 
/></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <short>Forma valenciana.</short>
@@ -3958,7 +3958,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.M.*" postag_regexp="yes" 
regexp="yes">.+en?<exception postag="N.*|V.I.*" postag_regexp="yes" /></token>
+                    <token postag="V.M.*" postag_regexp="yes" 
regexp="yes">.+en?<exception postag="_GN.*|N.*|V.I.*" postag_regexp="yes" 
/></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <short>Forma valenciana.</short>
@@ -3967,7 +3967,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.M03S0" postag_regexp="yes" 
regexp="yes">.+a<exception postag="N.*|V.I.*" postag_regexp="yes" /></token>
+                    <token postag="V.M03S0" postag_regexp="yes" 
regexp="yes">.+a<exception postag="_GN.*|N.*|V.I.*" postag_regexp="yes" 
/></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <short>Forma valenciana.</short>
@@ -3986,7 +3986,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.SI.*" postag_regexp="yes" 
regexp="yes">.+(asses|àssem|àsseu|assen|esses|éssem|ésseu|essen)<exception 
postag="_GN.*" postag_regexp="yes" /></token>
+                    <token postag="V.SI.*" postag_regexp="yes" 
regexp="yes">.+(asses|àssem|àsseu|assen|esses|éssem|ésseu|essen)<exception 
postag="_GN.*|VMIP3P0" postag_regexp="yes" /></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <short>Forma valenciana.</short>
@@ -3996,7 +3996,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.*[iï](sc|sca|sques|squem|squeu|squen)|.+e(sca|sques|squen)<exception
 regexp="yes">.*visc</exception></token>
+                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.*[iï](sc|sca|sques|squem|squeu|squen)|.+e(sca|sques|squen)<exception
 regexp="yes">.*visc</exception><exception inflected="yes" 
regexp="yes">.*[ei]scar</exception></token>
                 </pattern>
                 <message>Forma verbal pròpia del valencià.</message>
                 <short>Forma valenciana.</short>
@@ -4015,7 +4015,7 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.+([^e]i|ï)(xo|x|xes|xen)<exception inflected="yes" 
regexp="yes">.+eixir|.+uixir|.+uixar|.+aixar|.+oixar</exception><exception 
postag="VMIP1S0"/></token>
+                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.+([^e]i|ï)(xo|x|xes|xen)<exception inflected="yes" 
regexp="yes">.+eixir|.+uixir|.+uixar|.+aixar|.+oixar|.+àixer</exception><exception
 postag="VMIP1S0"/><exception>unix</exception></token>
                 </pattern>
                 <message>Incoatiu en -ix. Substitueix per <suggestion><match 
no="1" regexp_match="^(.+)(i|ï)(x|xes|xen)" 
regexp_replace="$1ei$3"></match></suggestion></message>
                 <short>Incoatiu en -ix.</short>
@@ -4330,8 +4330,8 @@
         </rulegroup>
         
         <rule id="EVITA_INCOATIUS_IX" name="Evita els verbs incoatius amb -ix" 
default="on">
-                <pattern>
-                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.+([^e]i|ï)(xo|x|xes|xen)<exception inflected="yes" 
regexp="yes">.+eixir|.+uixir|.+uixar|.+aixar|.+oixar</exception></token>
+                <pattern case_sensitive="yes">
+                    <token postag="V.*" postag_regexp="yes" 
regexp="yes">.+([^e]i|ï)(xo|x|xes|xen)<exception inflected="yes" 
regexp="yes">.+eixir|.+uixir|.+uixar|.+aixar|.+oixar</exception><exception>Unix</exception></token>
                 </pattern>
                 <message>Incoatiu en -ix. Substitueix per <suggestion><match 
no="1" regexp_match="^(.+)(i|ï)(x|xes|xen)" 
regexp_replace="$1ei$3"></match></suggestion></message>
                 <short>Incoatiu en -ix.</short>

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