Revision: 9489
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9489&view=rev
Author:   jaumeortola
Date:     2013-02-24 23:37:21 +0000 (Sun, 24 Feb 2013)
Log Message:
-----------
[ca] Fixed false alarms. One more word in wrongWordInContext.

Modified Paths:
--------------
    
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/wrongWordInContext.txt

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-24 22:32:57 UTC (rev 9488)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-02-24 23:37:21 UTC (rev 9489)
@@ -1555,10 +1555,10 @@
                     <marker>
                         <token postag="V.*" postag_regexp="yes" 
inflected="yes">dormir</token>
                     </marker>
-                    <token postag="_GN_.*" 
postag_regexp="yes"><exception>cada</exception><exception postag="DN.*" 
postag_regexp="yes"/></token>
+                    <token postag="DA.*" 
postag_regexp="yes"><exception>cada</exception><exception postag="DN.*" 
postag_regexp="yes"/></token>
                     <token><exception 
regexp="yes">son|vegada|quart|hora|estona</exception></token>
                 </pattern>
-                <message>¿Volíeu dir <suggestion><match no="2" 
regexp_match="(dorm.*)" regexp_replace="a$1"/></suggestion>?</message>
+                <message>¿Volíeu dir <suggestion><match no="2" 
regexp_match="([Dd]orm.*)" regexp_replace="a$1"/></suggestion>?</message>
                 <example type="incorrect" correction="adormir">Joan va 
<marker>dormir</marker> la nena.</example>
                 <example type="incorrect" correction="adormit">Joan ha 
<marker>dormit</marker> el nen.</example>
                 <example type="correct">Joan va adormir el nen.</example>
@@ -1568,6 +1568,7 @@
                 <example type="correct">dormiran un son etern</example>
                 <example type="correct">anà a dormir altra vegada</example>
                 <example type="correct">En aquella sala dormia una 
cuinera</example>
+                <example type="correct">Dormint lenta agonia.</example>
             </rule>
         </rulegroup>
         <!-- <rulegroup id="VERBS_PRONOMINALS" name="verbs reflexius: 
desperta't"> 
@@ -6771,16 +6772,17 @@
                <!-- Cal millorar la regla, perquè ja no es considera 
determinant i no funciona la regla de concordança per a detectar error-->
             <rule>
                 <pattern>
-                    <token><exception 
inflected="yes">tenir</exception><exception postag="D[AD]0[MF]S0" 
postag_regexp="yes"/><exception regexp="yes">de|d'</exception></token>
+                    <token><exception 
inflected="yes">tenir</exception><exception postag="D[ADI]0[MF]S0" 
postag_regexp="yes"/><exception regexp="yes">de|d'</exception></token>
                     <marker>
                         <token>son</token>
                     </marker>
-                    <token postag="D[AID].*|PD0NS000" postag_regexp="yes"/>
+                    <token postag="D[AID].*|PD0NS000|_PUNCT.*" 
postag_regexp="yes"/>
                 </pattern>
                 <message>Si és del verb 'ser', cal accentuar: 
<suggestion>són</suggestion>.</message>
                 <short>Accent diacrític.</short>
                 <example type="incorrect" correction="són">No 
<marker>son</marker> les galetes de nata.</example>
                 <example type="incorrect" 
correction="Són"><marker>Son</marker> allò que volem.</example>
+                <example type="incorrect" correction="són">Aquestes 
<marker>son</marker>, com deia Joan, adorables.</example>
                 <!-- <example type="incorrect" 
correction="Són"><marker>Son</marker> cada dia més intel·ligents.</example> -->
                 <example type="correct">son pare no té nas</example>
                 <example type="correct">tenia son els diumenges al 
matí</example>
@@ -6790,6 +6792,7 @@
                 <example type="correct">moltes hores de son cada dia</example>
                 <example type="correct">aquell son fou reparador</example>
                 <example type="correct">aquella son era irresistible</example>
+                <example type="correct">Tinc molta son, me'n vaig.</example>
             </rule>
             <rule>
                 <pattern>

Modified: 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
     2013-02-24 22:32:57 UTC (rev 9488)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
     2013-02-24 23:37:21 UTC (rev 9489)
@@ -49,5 +49,7 @@
 (?i)mór(a|es)  (?i)mor(a|es)   ór      or      
(?i)silvestres?|fruit.*|bai(a|es)|pastís|pastissos|melmelad.+|esbarzer.*|sars(a|es)|sarsaparrell(a|es)|arbusts?|punx(a|es)|menja.*|meng[eé].*
   (?i)pagaments?|administrat.*    fruit   retard; musulmana
 #bóta/bota
 (?i)bót(a|es)  (?i)bot(a|es)   ót      ot      
(?i)congrenyada|bodega|bodegues|vaixells?|vi|vins|racó|racons|cellers?|nassos|olis?|ferment.*|envell[ieí].+
     (?i)peus?|cal[çc].+|muntar|enllustr.+   recipient       calçat
+#arxivament/arxiu
+(?i)arxivaments?       (?i)arxius?     vament  iu      
(?i)denúnci(a|es)|diligènci(a|es)|expedients?|investigació      (?i)històrics?  
acció o efecte d'arxivar        conjunt de documentació; edifici
 #compte/conte/comte
 #mil·liar,millar,miliar,miler

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to