Revision: 6057
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6057&view=rev
Author:   dominikoeo
Date:     2011-12-18 00:28:08 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
[br] fixed false positive in "Bez' ez eus eus"

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-17 23:05:38 UTC 
(rev 6056)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-18 00:28:08 UTC 
(rev 6057)
@@ -3417,11 +3417,10 @@
     <rulegroup id="GER_DOUBLET" name="Ger doublet">
       <rule>
         <pattern>
-          <token regexp="yes">\p{L}+<exception postag="SENT_START"/><exception 
regexp="yes">ez|zo|ya|nann</exception></token>
+          <token regexp="yes">\p{L}+<exception postag="SENT_START"/><exception 
regexp="yes">ez|zo|ya|nann|eus</exception></token>
           <token spacebefore="yes"><exception postag="J.*" 
postag_regexp="yes"></exception><match no="0"/></token>
         </pattern>
         <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ 
<suggestion>\1</suggestion>?</message>
-        <short>Doublon</short>
         <example type="incorrect">Pelec’h <marker>emañ emañ</marker> an 
ti-gar?</example>
         <example type="correct">Pelec’h <marker>emañ</marker> an 
ti-gar?</example>
         <example type="correct">N’eo ket fur-fur.</example>
@@ -3431,11 +3430,19 @@
       </rule>
       <rule>
         <pattern>
+          <token>eus<exception scope="previous">ez</exception></token>
+          <token>eus</token>
+        </pattern>
+        <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ 
<suggestion>\1</suggestion>?</message>
+        <example type="incorrect"><marker>Eus eus</marker> Brest e 
oa.</example>
+        <example type="correct">Bez' ez eus eus Breizh</example>
+      </rule>
+      <rule>
+        <pattern>
           <token regexp="yes">\p{L}+<exception postag="SENT_START"/></token>
           <token spacebefore="yes" postag="J.*" postag_regexp="yes"><match 
no="0"/></token>
         </pattern>
         <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ 
<suggestion>\1</suggestion> pe gant ur barrennig stagañ 
<suggestion>\1-\2</suggestion>?</message>
-        <short>Doublon</short>
         <example type="incorrect"><marker>Brav brav</marker> eo an 
ti.</example>
         <example type="correct">Brav-brav eo an ti.</example>
       </rule>

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