Revision: 8492
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8492&view=rev
Author:   jaumeortola
Date:     2012-12-03 11:23:33 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
[ca] New rule: liderat/lideratge. Rule improved: haver sense hac.

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-12-03 07:06:50 UTC (rev 8491)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-12-03 11:23:33 UTC (rev 8492)
@@ -1896,17 +1896,20 @@
             <rule>
                 <!-- excepcions no controlades: a/ha dit, a/ha deixat-->
                 <pattern>
-                    <token negate="yes" regexp="yes">com|per|fins</token>
+                    <token><exception 
regexp="yes">com|per|fins</exception></token>
                     <marker>
                         <token>a</token>
                     </marker>
-                    <token postag="V.P.*" postag_regexp="yes"><exception 
postag="_GN.*" postag_regexp="yes"/></token>
+                    <token postag="V.P.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" 
regexp="yes">determina(t|ts|da|des)</exception></token>
                 </pattern>
                 <message>Haver s'escriu amb hac. Podria ser: 
<suggestion>h<match no="2" 
case_conversion="startlower"></match></suggestion>.</message>
                 <short>Haver s'escriu amb hac</short>
-                <example type="incorrect">Ell <marker>a</marker> 
cantat.</example>
-                <example type="correct">Ell ha cantat.</example>
+                <example type="incorrect" correction="ha">Ell 
<marker>a</marker> cantat.</example>
+                <example type="incorrect" correction="ha">A penes 
<marker>a</marker> tingut ressò.</example>
+                <example type="incorrect" correction="ha">El fracàs 
<marker>a</marker> determinat la seva decisió.</example>
                 <example type="correct">en la seva reducció a determinades 
categories</example>
+                <example type="correct">la pertinença a determinat grup 
social</example>
+                
             </rule>
             <rule>
                 <pattern>
@@ -1915,7 +1918,7 @@
                     <marker>
                         <token>a</token>
                     </marker>
-                    <token postag="V.P.*" postag_regexp="yes"><exception 
postag="_GN.*" postag_regexp="yes"/></token>
+                    <token postag="V.P.*" postag_regexp="yes"><exception 
postag="_GN_.*" postag_regexp="yes" 
regexp="yes">determina(t|ts|da|des)</exception></token>
                 </pattern>
                 <message>Haver s'escriu amb hac. Podria ser: 
<suggestion>h<match no="3" 
case_conversion="startlower"></match></suggestion>.</message>
                 <short>Haver s'escriu amb hac</short>
@@ -11526,6 +11529,21 @@
             <example type="incorrect"><marker>Segueix l'estela</marker> del 
campió.</example>
             <example type="correct">una estela funerària</example>
         </rule>
+        <rule id="LIDERAT" name="liderat/lideratge">
+            <pattern>
+                <token><exception postag="RG_anteposat"/></token>
+                <marker>
+                    <token regexp="yes">liderats?<exception postag="_GV_" 
/></token>
+                </marker>
+                <token><exception regexp="yes">per|pe|des</exception></token>
+            </pattern>
+            <message>Quan indica un procés val més dir: <suggestion><match 
no="2" regexp_match="(.+)t(s?)" 
regexp_replace="$1tge$2"/></suggestion>.</message>
+            <short>Forma preferible</short>
+            <example type="incorrect" correction="lideratge">amb el seu 
<marker>liderat</marker>.</example>
+            <example type="correct">ha liderat la batalla</example>
+            <example type="correct">L'equip, liderat pel capità, aconseguí la 
victòria.</example>
+            <example type="correct">L'equip, ben liderat, podria arribar 
lluny.</example>
+        </rule>
         <rule id="MELENA" name="melena / cabellera">
             <pattern>
                 <token regexp="yes">melen(a|es)</token>

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


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Languagetool-commits mailing list
Languagetool-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to