Revision: 6065
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6065&view=rev
Author:   dominikoeo
Date:     2011-12-18 20:42:59 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
[br] detect error in *N'eo ket red* ?\226?\134?\146 "N'eo ket ret"

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-18 18:35:42 UTC 
(rev 6064)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-18 20:42:59 UTC 
(rev 6065)
@@ -2106,9 +2106,9 @@
     <rule id="AZ_A" name="a za → az a">
       <pattern>
         <token>a</token>
-        <token>za</token>
+        <token regexp="yes">zae?</token>
       </pattern>
-      <message>Ha fellout a rae deoc’h skrivañ <suggestion>az a</suggestion> 
pe <suggestion>a ya</suggestion>?</message>
+      <message>Ha fellout a rae deoc’h skrivañ <suggestion>az <match no="2" 
regexp_match=".(.*)" regexp_replace="$1"/></suggestion> pe <suggestion>a 
y<match no="2" regexp_match=".(.*)" 
regexp_replace="$1"/></suggestion>?</message>
       <example type="incorrect">Bleud an diaoul <marker>a za</marker> da 
vrenn.</example>
       <example type="correct">Bleud an diaoul az a da vrenn.</example>
       <example type="correct">Bleud an diaoul a ya da vrenn.</example>
@@ -3870,6 +3870,16 @@
         <example type="incorrect"><marker>Red</marker> e oa studiañ ar 
gentel.</example>
         <example type="correct">Ret e oa studiañ ar gentel.</example>
       </rule>
+      <rule>
+        <pattern mark_from="2">
+          <token regexp="yes">eo|oa|vo</token>
+          <token>ket</token>
+          <token>red</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>ret</suggestion>?</message>
+        <example type="incorrect">N’eo ket <marker>red</marker> ober 
se.</example>
+        <example type="correct">N’eo ket red ober se.</example>
+      </rule>
     </rulegroup>
 
   </category>

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