Revision: 6291
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6291&view=rev
Author:   dominikoeo
Date:     2012-01-19 20:17:39 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
[br] detect errors such as *am poa* ?\226?\134?\146 "am boa".

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

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2012-01-19 17:44:46 UTC 
(rev 6290)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-01-19 20:17:39 UTC 
(rev 6291)
@@ -2308,6 +2308,39 @@
       <example type="correct">Bleud an diaoul az a da vrenn.</example>
       <example type="correct">Bleud an diaoul a ya da vrenn.</example>
     </rule>
+
+    <rulegroup id="AM_BOA" name="am poa → am boa">
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">[ae]m|hor</token>
+          <token regexp="yes">pez|dez|poa?|doa?</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match=".(.*)" regexp_replace="b$1"/></suggestion>?</message>
+        <example type="incorrect">Amzer am <marker>poa</marker>.</example>
+        <example type="incorrect">Amzer am <marker>doa</marker>.</example>
+        <example type="correct">Amzer am <marker>boa</marker>.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">[ae]z|ho</token>
+          <token regexp="yes">dez|bez|doa?|boa?|deus</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match=".(.*)" regexp_replace="p$1"/></suggestion>?</message>
+        <example type="incorrect">Amzer az <marker>boa</marker>.</example>
+        <example type="incorrect">Amzer az <marker>doa</marker>.</example>
+        <example type="correct">Amzer az <marker>poa</marker>.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">en|o</token>
+          <token regexp="yes">bez|pez|boa?|poa?|peus</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match=".(.*)" regexp_replace="d$1"/></suggestion>?</message>
+        <example type="incorrect">Amzer en <marker>boa</marker>.</example>
+        <example type="incorrect">Amzer en <marker>poa</marker>.</example>
+        <example type="correct">Amzer en <marker>doa</marker>.</example>
+      </rule>
+    </rulegroup>
   </category>
 
   <category name="Barrennig-stagañ">

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to