Revision: 8413
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8413&view=rev
Author:   jaumeortola
Date:     2012-11-17 22:11:05 +0000 (Sat, 17 Nov 2012)
Log Message:
-----------
[ca] New rule: LLLIURAMENT_LLIUREMENT. New WrongWordInContext: 
delf?\195?\173/dof?\195?\173. 

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

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-11-17 21:37:36 UTC (rev 8412)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-11-17 22:11:05 UTC (rev 8413)
@@ -1074,7 +1074,7 @@
         </rulegroup>
         <rulegroup id="CONCORDANCES_CASOS_PARTICULARS" name="casos particulars 
de concordances: esquerre/a, altre/a part, pendent, corrent...">
             <rule id="DE_MANERA_ADJ" name="de manera + adj">
-                <!-- Problem no detected by rule COMPLEX_ADJECTIVE_CONCORDANCE 
in some contexts-->
+                <!-- Problem not detected by rule 
COMPLEX_ADJECTIVE_CONCORDANCE in some contexts-->
                 <pattern>
                     <token>de</token>
                     <unify negate="yes">
@@ -3627,6 +3627,19 @@
         </rulegroup>
     </category>
     <category name="Confusions">
+        <rule id="LLIURAMENT_LLIUREMENT" name="lliurament/lliurement">
+            <pattern>
+                <token><exception>de</exception></token>         
+                <marker>
+                        <token>lliurament<exception postag="_GN_MS"/></token>
+                </marker>
+                <token><exception regexp="yes">de|d'</exception></token>
+            </pattern>
+            <message>¿Volíeu dir <suggestion>lliurement</suggestion> (= amb 
llibertat) en lloc de "lliurament" (= acció de lliurar)?</message>
+            <example type="incorrect" correction="lliurement">Aquests 
significats són <marker>lliurament</marker> mesclats.</example>
+            <example type="correct">El lliurament es va fer amb 
normalitat.</example>
+            <example type="correct">Va negociar el lliurament de 
Granada.</example>
+        </rule>
         <rule id="EM_VIST" name="em vist">
         <!-- La regla general no troba error perquè s'interpreta que 'vist' és 
del verb vestir: jo em vist = jo em vestisc -->
             <pattern>

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
     2012-11-17 21:37:36 UTC (rev 8412)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
     2012-11-17 22:11:05 UTC (rev 8413)
@@ -41,5 +41,7 @@
 Óss(a|es)      Oss(a|es)       Ó       O       .+      ddXd,6dDd3d     ós 
femella      ossada
 #tron/tro
 (?i)tron       (?i)tro tron    tro     
(?i)pretendents?|acced[ei].+|dinasti(a|es)|ascend[ei].+|succe[eiï].+|puj[aoà].*|pug[éei].*|usurp.+|monar[cq].+
  (?i)llamps?|so|sons|sorolls?|tempest(a|es)      seient; dignitat        
fenomen acústic
+#delfí/dofí
+delf(í|ins)    dof(í|ins)      delf    dof     
Borbó|borbons|Lluís|França|reis?|rein(a|es)|Antonieta|presidents?|hereus?|herev(a|es)|matrimoni
 .+      hereu   animal cetaci
 #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.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to