Revision: 10080
          http://sourceforge.net/p/languagetool/code/10080
Author:   jaumeortola
Date:     2013-05-13 21:04:48 +0000 (Mon, 13 May 2013)
Log Message:
-----------
[ca] Fixed false alarms.

Modified Paths:
--------------
    
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/rules/ca/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-05-13 19:01:17 UTC (rev 10079)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-05-13 21:04:48 UTC (rev 10080)
@@ -9291,7 +9291,7 @@
                 <pattern>
                     <token postag="SENT_START" skip="-1"><exception 
postag="PP3CN000" scope="next" inflected="yes">en</exception></token>
                     <marker>
-                        <token postag="V[^S][SI].*" 
postag_regexp="yes"><exception>taula</exception></token>
+                        <token postag="V[^S][SI].*" 
postag_regexp="yes"><exception regexp="yes">taula|mapa</exception></token>
                         <token postag="DN.*" postag_regexp="yes"><exception 
regexp="yes">zero|set</exception></token>
                     </marker>
                     <token regexp="yes">[.;?!]</token>
@@ -9305,6 +9305,7 @@
                 <example type="correct">Ells són set.</example>
                 <example type="correct">la suma dels estats d'oxidació dóna 
zero.</example>
                 <example type="correct">Taula 15. Superfície artificial al 
País Valencià</example>
+                <example type="correct">Mapa 2. Superfície artificial al País 
Valencià</example>
             </rule>
             <rule>
                 <pattern>
@@ -16724,7 +16725,7 @@
        <rulegroup id="A_NIVELL" name="a nivell / a nivell de">
                <rule>
                        <pattern>
-                               <token>a</token>
+                               <token>a<exception postag=".*LOC.*" 
postag_regexp="yes"/></token>
                                <token>nivell</token>
                                <token postag="AQ0[MC][SN]0" 
postag_regexp="yes"/>
                        </pattern>
@@ -16737,10 +16738,11 @@
                        <short>Expressió preferible</short>
                        <example type="incorrect" correction="en l'àmbit 
mundial|a escala mundial|mundialment|mundial">Ho varen fer <marker>a nivell 
mundial</marker>.</example>
                        <example type="correct">Aquest terra no és a 
nivell.</example>
+                       <example type="correct">Quant a nivell de renda, són 
els més alts.</example>
                </rule>
                <rule>
                        <pattern>
-                               <token>a</token>
+                               <token>a<exception postag=".*LOC.*" 
postag_regexp="yes"/></token>
                                <token>nivell</token>
                                <token regexp="yes">de|d'</token>
                        </pattern>

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


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to