Revision: 9229
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9229&view=rev
Author:   jaumeortola
Date:     2013-01-26 19:28:03 +0000 (Sat, 26 Jan 2013)
Log Message:
-----------
[ca] Fixed false alarms. 

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan.dict
    
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
    
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/catalan.dict
===================================================================
(Binary files differ)

Modified: 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
===================================================================
(Binary files differ)

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-01-26 19:27:01 UTC (rev 9228)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
      2013-01-26 19:28:03 UTC (rev 9229)
@@ -4425,7 +4425,7 @@
  -->
      <rule id="causa" name="no nom darere de relatiu. Ex: que causa, que 
pensa">
         <pattern>
-            <token postag="PR.*" postag_regexp="yes"/>
+            <token postag="PR.*" 
postag_regexp="yes"><exception>com</exception></token>
             <marker>
                 <and>
                     <token postag="N.*" postag_regexp="yes" regexp="yes"/>
@@ -5130,11 +5130,20 @@
     <rule id="nNomMasculi" name="no Nom masculí si no ha concordat">
         <pattern>
             <marker>
-                <token postag="NCM.*" postag_regexp="yes" 
inflected="yes">por<exception postag="_GN_M.*" postag_regexp="yes" /></token>
+                <token postag="NCF.*" postag_regexp="yes" 
inflected="yes">por<exception postag="_GN_M.*" postag_regexp="yes" /></token>
             </marker>
         </pattern>
         <disambig action="filter" postag="NCF.*|_GN_F.*"></disambig>
     </rule>
+    <rule id="nNomFemeni" name="no Nom femení si no ha concordat">
+    <!-- on té molt poc pes -->
+        <pattern>
+            <marker>
+                <token inflected="yes">pe<exception postag="_GN_F.*" 
postag_regexp="yes" /></token>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="NCM.*|_GN_M.*"></disambig>
+    </rule>
     <rule id="NoAdj" name="no adjectiu si no han concordat">
         <!-- no són adj si no han concordat amb determinants. Mogut per "ens 
ensenya"-->
         <pattern>

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-01-26 19:27:01 UTC (rev 9228)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-01-26 19:28:03 UTC (rev 9229)
@@ -532,6 +532,7 @@
                 <example type="correct">el Carme</example>
                 <example type="correct">la Carme</example>
                 <example type="correct">Si qui les calça és un 
diputat</example>
+                <!-- <example type="correct">La número 2, per a cors i 
instruments de vent</example> -->
                 <!-- metges és verb conjugat de metjar -->
             </rule>
             <rule>
@@ -557,6 +558,8 @@
                 <example type="incorrect">Per què hi ha <marker>tant 
homes</marker>?</example>
                 <example type="correct">tant homes com dones</example>
                 <example type="correct">de passar tanta set</example>
+                <example type="correct">tant planetes com cometes</example>
+                <!-- <example type="correct">tant pilars i motllures com 
l'acabament</example> -->
             </rule>
             <rule>
                 <pattern>
@@ -582,6 +585,7 @@
                 <example type="correct">Els homes són tots herba</example> 
                 <example type="correct">cauran tots víctimes de 
l'espasa</example>
                 <example type="correct">en tot ordenada i segura</example>
+                <example type="correct">on té molt poc pes</example>
                 <!-- <example type="correct">influí molt Assíria</example> -->
                 <!-- <example type="correct">ser admesos com a tals Alemanya, 
el Japó,</example> -->
             </rule>
@@ -14004,15 +14008,17 @@
         <rulegroup id="METGE_MEDIC" name="*metge/mèdic">
             <rule>
                 <pattern>
-                    <token postag="NC.*" postag_regexp="yes"/>
+                    <token postag="NC.*" postag_regexp="yes"><exception 
postag="NP.*" postag_regexp="yes"></exception></token>
                     <marker>
-                        <token regexp="yes">metges?</token>
+                        <token regexp="yes">metges?<exception 
postag="_possible_nompropi"/></token>
                     </marker>
                 </pattern>
                 <message>¿Volíeu dir <suggestion><match no="1" 
postag="NC(..).*" postag_regexp="yes" 
postag_replace="AQ0$10">mèdic</match></suggestion>?</message>
                 <example type="incorrect" correction="mèdic">certificat 
<marker>metge</marker></example>
                 <example type="incorrect" correction="mèdiques">unes revisions 
<marker>metges</marker></example>
                 <example type="correct">un certificat mèdic</example>
+                <example type="correct">de la col·lecció "Bernat 
Metge"</example>
+                
             </rule>
             <rule>
                 <pattern>

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


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to