Revision: 9432
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9432&view=rev
Author:   jaumeortola
Date:     2013-02-20 09:59:59 +0000 (Wed, 20 Feb 2013)
Log Message:
-----------
[ca] New rules: CIMENT, CIMENTAR. Fixed false negatives in wrodWordInContext.

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-19 23:15:21 UTC (rev 9431)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-02-20 09:59:59 UTC (rev 9432)
@@ -13321,6 +13321,23 @@
             <example type="incorrect" correction="purgar">Cal 
<marker>porgar</marker>-lo.</example>
             <example type="correct">purgar</example>
         </rule>    
+        <rule id="CIMENTAR" name="cimentar/fonamentar">
+            <pattern>
+                <token inflected="yes">cimentar</token>
+            </pattern>
+            <message>¿Volíeu dir <suggestion><match no="1" 
regexp_match="ciment(.+)" regexp_replace="fonament$1"/></suggestion> (sentits 
més habituals) en comptes de "<match no="1"/>" (sentits menys 
habituals)?</message>
+            <suggestion><match no="1" regexp_match="ciment(.+)" 
regexp_replace="pos$1"/> els fonaments</suggestion>
+            <example type="incorrect" correction="fonamentéssim|poséssim els 
fonaments">Calia que <marker>cimentéssim</marker> bé la casa.</example>
+            <example type="correct">purgar</example>
+        </rule>
+        <rule id="CIMENT" name="ciment">
+            <pattern>
+                <token inflected="yes" regexp="yes">ciment|cimentació</token>
+            </pattern>
+            <message>¿Volíeu dir <suggestion>fonaments</suggestion> (sentits 
més habituals) en comptes de "<match no="1"/>" (sentits menys 
habituals)?</message>
+            <example type="incorrect" correction="fonaments">Calia que posar 
els <marker>ciments</marker> de la casa.</example>
+            <example type="correct">purgar</example>
+        </rule>
         <rule id="DAR" name="dar">
             <pattern>
                 <token postag="V.[^P].*" postag_regexp="yes" 
inflected="yes">dar</token>

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-19 23:15:21 UTC (rev 9431)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/wrongWordInContext.txt
     2013-02-20 09:59:59 UTC (rev 9432)
@@ -40,7 +40,7 @@
 óss(a|es)      oss(a|es)       ó       o       .+      d,6     ós femella      
ossada
 Óss(a|es)      Oss(a|es)       Ó       O       .+      d,6     ó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)|sentir       seient; dignitat      
  fenomen acústic
+(?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)|sentir       seient; dignitat 
       fenomen acústic
 #delfí/dofí
 delf(í|ins)    dof(í|ins)      delf    dof     
Borbó|borbons|trons?|Lluís|França|reis?|reialsa?|rein(a|es)|Antonieta|presidents?|hereus?|herev(a|es)|matrimonis?|prìnceps?|princesa|princeses|regnes?|consagr.+|coron.+|títols?|reg[ií].+|possessi.+|territoris?|arm[aà].+|setges?|mausoleus?|catedrals?|París|revolt(a|es)|presó|presons|Anglaterra|derrot[aeàé].+|comtats?|drets?
    .+      hereu   animal cetaci
 #infantesa/infantessa

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