Revision: 10282
          http://sourceforge.net/p/languagetool/code/10282
Author:   jaumeortola
Date:     2013-06-22 16:09:21 +0000 (Sat, 22 Jun 2013)
Log Message:
-----------
[ca] Improve rule BESTIA

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-06-22 15:57:22 UTC (rev 10281)
+++ 
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
        2013-06-22 16:09:21 UTC (rev 10282)
@@ -15710,11 +15710,11 @@
         </rule>
         <rule id="BESTIA" name="bestia">
             <pattern>
-                <token>bestia</token>
+                <token regexp="yes">besti(a|es)</token>
             </pattern>
-            <message>¿Volíeu dir <suggestion>bèstia</suggestion> (animal)? 
Correcte en el sentit de germana de l'avi o de l'àvia (bes-tia).</message>
+            <message>¿Volíeu dir <suggestion><match no="1" 
regexp_match="besti(.+)" regexp_replace="bèsti$1"/></suggestion> (animal)? 
Correcte en el sentit de germana de l'avi o de l'àvia (bes-tia).</message>
             <short>Possible confusió</short>
-            <example type="incorrect"><marker>bestia</marker></example>
+            <example type="incorrect" 
correction="bèstia"><marker>bestia</marker></example>
             <example type="correct">bes-tia</example>
         </rule>
         <rule id="AUTODIDACTE" name="autodidacte/autodidàctic">

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to