Revision: 5940
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=5940&view=rev
Author:   dominikoeo
Date:     2011-11-19 22:44:24 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
[br] fixed some false positives.

Modified Paths:
--------------
    trunk/JLanguageTool/src/resource/br/disambiguation.xml
    trunk/JLanguageTool/src/rules/br/grammar.xml

Modified: trunk/JLanguageTool/src/resource/br/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/br/disambiguation.xml      2011-11-19 
14:45:49 UTC (rev 5939)
+++ trunk/JLanguageTool/src/resource/br/disambiguation.xml      2011-11-19 
22:44:24 UTC (rev 5940)
@@ -81,13 +81,22 @@
       <disambig postag="L a"/>
     </rule>
   </rulegroup>
-  <rule id="EZ_AN" name="ez an">
-    <pattern mark="0">
-      <token>ez</token>
-      <token 
regexp="yes">an|in|aen|afen|ajen|ez|i|aes|afes|ajes|a|aio|ae|afe|aje|eomp|aimp|aemp|afemp|ajemp|it|eot|eoc’h|aec’h|afec’h|ajec’h|eont|aint|aent|afent|ajent|eer|eor|aed|afed|ajed</token>
-    </pattern>
-    <disambig postag="L e"/>
-  </rule>
+  <rulegroup id="EZ_AN" name="ez an">
+    <rule>
+      <pattern mark="0">
+        <token>ez</token>
+        <token 
regexp="yes">an|in|aen|afen|ajen|ez|i|aes|afes|ajes|a|aio|ae|afe|aje|eomp|aimp|aemp|afemp|ajemp|it|eot|eoc’h|aec’h|afec’h|ajec’h|eont|aint|aent|afent|ajent|eer|eor|aed|afed|ajed</token>
+      </pattern>
+      <disambig postag="L e"/>
+    </rule>
+    <rule>
+      <pattern mark="1">
+        <token>ez</token>
+        <token>an</token>
+      </pattern>
+      <disambig action="remove"><wd lemma="an" pos="D e sp"/></disambig>
+    </rule>
+  </rulegroup>
   <rule id="EN_EM" name="en em">
     <pattern mark="1">
       <token>en</token>
@@ -135,7 +144,7 @@
     </rule>
     <rule>
       <pattern mark="1">
-        <token regexp="yes">en|gant</token>
+        <token regexp="yes">en|evit|gant|digant|war|diwar</token>
         <token>e</token>
       </pattern>
       <disambig action="remove"><wd lemma="e" pos="L e"/></disambig>

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2011-11-19 14:45:49 UTC 
(rev 5939)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-11-19 22:44:24 UTC 
(rev 5940)
@@ -237,16 +237,15 @@
             <exception postag="P|L e" postag_regexp="yes">e</exception>
           </token>
           <and>
-            <token regexp="yes">g[^w].*
-              <exception>get</exception>
-            </token>
-            <token regexp="yes" inflected="yes">g[^w].*</token>
+            <token regexp="yes">g[^w].*<exception>get</exception></token>
+            <token regexp="yes" inflected="yes">g[^w].*<exception 
inflected="yes" regexp="yes">k.*</exception></token>
           </and>
         </pattern>
         <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha 
fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="c’h$1"/></suggestion>?</message>
         <example type="incorrect">Pa <marker>goulennas</marker></example>
         <example type="correct">Pa c’houlennas</example>
         <example type="correct">Da get buan a-walc’h</example>
+        <example type="correct">Paouez da grenañ</example>
       </rule>
       <rule>
         <pattern mark_from="1">

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to