Revision: 8708
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8708&view=rev
Author:   dominikoeo
Date:     2012-12-30 09:12:16 +0000 (Sun, 30 Dec 2012)
Log Message:
-----------
[br] fixed false positive in "Diwar e garantez e c'hanas daou vugel."

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

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml    
    2012-12-30 01:34:15 UTC (rev 8707)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml    
    2012-12-30 09:12:16 UTC (rev 8708)
@@ -2044,10 +2044,9 @@
             <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
           </token>
           <marker>
-            <and>
-              <token regexp="yes" inflected="yes">k.*</token>
-              <token regexp="yes">(g|c’h).*</token>
-            </and>
+            <token regexp="yes" inflected="yes" postag="V[^M]*M:.*" 
postag_regexp="yes">k.*
+              <exception regexp="yes" postag="V[^M]*M:1:1a:1b:4:" 
postag_regexp="yes">c’h.*</exception>
+            </token>
           </marker>
         </pattern>
         <message>Ne zlefe ket bezañ ur c’hemmadur goude ar rannig-verb «\1» 
gant ur ger a grog gant «k». Ha fellout a rae deoc’h skrivañ <suggestion><match 
no="2" regexp_match="(g|c’h)(.*)" regexp_replace="k$2"/>?</suggestion></message>
@@ -2055,6 +2054,7 @@
         <example type="incorrect">Peogwir e 
<marker>c’homprenan</marker>.</example>
         <example type="correct">Peogwir e komprenan.</example>
         <example type="correct">War lec’hienn an Ofis e c’haller e 
gavout.</example>
+        <example type="correct">Diwar e garantez e <marker>c’hanas</marker> 
daou vugel.</example>
       </rule>
       <rule>
         <pattern>

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


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to