Revision: 9680
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9680&view=rev
Author:   dominikoeo
Date:     2013-03-13 04:38:31 +0000 (Wed, 13 Mar 2013)
Log Message:
-----------
[br] better disambiguation of word "ma" to fix a false alarm in:
     "Ma c'hlevout a reont."

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

Modified: 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
      2013-03-12 17:33:31 UTC (rev 9679)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
      2013-03-13 04:38:31 UTC (rev 9680)
@@ -286,6 +286,17 @@
       </pattern>
       <disambig postag="C sub"/>
     </rule>
+    <rule>
+      <pattern>
+        <marker>
+          <token>ma</token>
+        </marker>
+        <token postag="V inf.*" postag_regexp="yes"/>
+        <token>a</token>
+        <token inflected="yes">ober</token>
+      </pattern>
+      <disambig postag="R e s 1 obj"/>
+    </rule>
   </rulegroup>
   <rulegroup id="KAOUT" name="kaout">
     <rule>
@@ -361,6 +372,7 @@
         <marker><token>e</token></marker>
         <token postag="N.*" postag_regexp="yes"/>
         <token regexp="yes">[a’]</token>
+        <token>zo</token>
       </pattern>
       <disambig action="remove"><wd lemma="e" pos="P"/></disambig>
     </rule>

Modified: 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-12 17:33:31 UTC (rev 9679)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-13 04:38:31 UTC (rev 9680)
@@ -1616,6 +1616,9 @@
         <example type="correct">Va c’hezeg</example>
         <example type="incorrect" correction="c’hi-me">Ma 
<marker>ki-me</marker>.</example>
         <example type="correct">Ma c’hi-me.</example>
+        <example type="incorrect" correction="c’hlevout">Ma 
<marker>klevout</marker> a reont.</example>
+        <example type="incorrect" correction="c’hlevout">Ma 
<marker>glevout</marker> a reont.</example>
+        <example type="correct">Ma c’hlevout a reont.</example>
       </rule>
       <rule>
         <pattern>
@@ -2315,6 +2318,7 @@
         <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur 
mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
         <example type="incorrect" correction="c’hallen">Ma 
<marker>gallen</marker> mont ez ajen.</example>
         <example type="correct">Ma c’hallen mont ez ajen.</example>
+        <example type="correct">Ma <marker>c’hlevout</marker> a 
reont.</example>
       </rule>
       <rule>
         <pattern>

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_mar
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to