Revision: 8417
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8417&view=rev
Author:   dominikoeo
Date:     2012-11-18 12:58:59 +0000 (Sun, 18 Nov 2012)
Log Message:
-----------
[br] better disambiguation of word "ma" so we can detect
     this mutation error "Ma ki-me" -> "Ma c'hi-me".

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

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/br/disambiguation.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/br/disambiguation.xml
      2012-11-18 12:48:51 UTC (rev 8416)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/br/disambiguation.xml
      2012-11-18 12:58:59 UTC (rev 8417)
@@ -273,6 +273,15 @@
                 <marker>
                     <token>ma</token>
                 </marker>
+                <token regexp="yes">.*-me</token>
+            </pattern>
+            <disambig postag="D e sp"/>
+        </rule>
+        <rule>
+            <pattern>
+                <marker>
+                    <token>ma</token>
+                </marker>
                 <token postag="V.*" postag_regexp="yes"><exception 
postag="N.*" postag_regexp="yes"/><exception 
regexp="yes">digarez(it)?</exception></token>
             </pattern>
             <disambig postag="C sub"/>
@@ -396,7 +405,7 @@
         </pattern>
         <disambig action="filter" postag="J"/>
     </rule>
-    <rule id="CHENTAN" name="c'hentañ">
+    <rule id="CHENTAN" name="c’hentañ">
         <pattern>
             <token>ken</token>
             <token>ar</token>

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml    
    2012-11-18 12:48:51 UTC (rev 8416)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml    
    2012-11-18 12:58:59 UTC (rev 8417)
@@ -1170,6 +1170,8 @@
         <example type="incorrect">Va <marker>kezeg</marker></example>
         <example type="incorrect">Va <marker>gezeg</marker></example>
         <example type="correct">Va c’hezeg</example>
+        <example type="incorrect">Ma <marker>ki-me</marker>.</example>
+        <example type="correct">Ma c’hi-me.</example>
       </rule>
       <rule>
         <pattern>

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