Revision: 9651
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9651&view=rev
Author:   dominikoeo
Date:     2013-03-10 07:53:05 +0000 (Sun, 10 Mar 2013)
Log Message:
-----------
[br] detect error *an dor-dal*-> an nor-dal.

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

Modified: 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-09 23:13:55 UTC (rev 9650)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-10 07:53:05 UTC (rev 9651)
@@ -200,17 +200,30 @@
         <pattern>
           <token regexp="yes">[au]n</token>
           <marker>
-            <token regexp="yes">dor(-(mañ|se|hont))?</token>
+            <token regexp="yes">dor(-.*)?</token>
           </marker>
         </pattern>
-        <message>Direizh eo kemmadur ar ger «\2». Ha fellout a rae deoc’h 
skrivañ <suggestion><match no="2" regexp_match="^." 
regexp_replace="n"/></suggestion>?</message>
+        <message>Direizh eo kemmadur ar ger «\2». Ha fellout a rae deoc’h 
skrivañ <suggestion><match no="2" regexp_match="^." 
regexp_replace="n"/></suggestion>? (CHALM B3.1.1.1)</message>
         <example type="incorrect" correction="nor">Serr an 
<marker>dor</marker> ’ta.</example>
         <example type="correct">Serr an nor ’ta.</example>
+        <example type="incorrect" correction="nor-dal">Serr an 
<marker>dor-dal</marker> ’ta.</example>
+        <example type="correct">Serr an nor-dal ’ta.</example>
       </rule>
       <rule>
         <pattern>
           <token regexp="yes">[au]n</token>
           <marker>
+            <token regexp="yes">norioù(-.*)?</token>
+          </marker>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match="^." regexp_replace="d"/></suggestion>?</message>
+        <example type="incorrect" correction="dorioù">Serr an 
<marker>norioù</marker> ’ta.</example>
+        <example type="correct">Serr an dorioù ’ta.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token regexp="yes">[au]n</token>
+          <marker>
             <token regexp="yes">tra(ig)?(-(mañ|se|hont))?</token>
           </marker>
         </pattern>
@@ -4224,6 +4237,15 @@
       <example type="incorrect">Uhel eo an <marker>tour tan</marker>.</example>
       <example type="correct">Uhel eo an <marker>tour-tan</marker>.</example>
     </rule>
+    <rule id="DOR_DAL" name="dor dal → dor-dal (hag all)">
+      <pattern>
+        <token regexp="yes">[dz]or(ioù)?|[nz]or</token>
+        <token regexp="yes">(dal|volz)?(-(mañ|se|hont))?</token>
+      </pattern>
+      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
+      <example type="incorrect">Serr an <marker>nor dal</marker>.</example>
+      <example type="correct">Serr an <marker>nor-dal</marker>.</example>
+    </rule>
     <rule id="BLEIZ_MOR" name="bleiz mor → bleiz-mor">
       <pattern>
         <token regexp="yes">bleizi?</token>

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


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to