Revision: 6021
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6021&view=rev
Author:   dominikoeo
Date:     2011-12-10 16:40:21 +0000 (Sat, 10 Dec 2011)
Log Message:
-----------
[br] fixed false positive in "ar greun".

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

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-10 15:58:28 UTC 
(rev 6020)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-10 16:40:21 UTC 
(rev 6021)
@@ -926,14 +926,9 @@
       <rule>
         <pattern mark_from="1">
           <token regexp="yes">[au]r<exception postag="X EN_UR"/></token>
-          <and>
-            <token postag="N m s.*|N f p.*" postag_regexp="yes" 
regexp="yes">g.*
-              <exception postag="N m s.*|N m p t.*" postag_regexp="yes" 
regexp="yes" inflected="yes">g.*</exception>
-            </token>
-            <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" 
inflected="yes">k.*
-              <exception postag="N f s.*|N m p t.*" postag_regexp="yes" 
regexp="yes" inflected="yes">k.*</exception>
-            </token>
-          </and>
+          <token postag="(N m s|N f p) M.*:1:.*" postag_regexp="yes" 
regexp="yes">g.*
+            <exception postag="N m s|N f p" postag_regexp="yes" 
regexp="yes">g.*</exception>
+          </token>
         </pattern>
         <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2». Ha 
fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="c’h$1"/></suggestion>?</message>
         <example type="incorrect">Ar <marker>goñfitur</marker></example>
@@ -943,6 +938,7 @@
         <example type="incorrect">Ar <marker>gentelioù</marker></example>
         <example type="correct">Ar c’hentelioù</example>
         <example type="correct">En ur gas lizhiri</example>
+        <example type="correct">Ar greun</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.


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to