Revision: 6625
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6625&view=rev
Author:   dominikoeo
Date:     2012-03-19 18:23:49 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
[br] - fixed false positive in "ar vugaligo?\195?\185".  The mutation
       is OK here even though the plural ends in "*o?\195?\185" because
       it's a double plural as explained here:
       
http://arbres.iker.univ-pau.fr/index.php/Doublage_des_marques_de_pluriel_sur_les_noms
     - remove redundant rule that cause redundant error
       to be reported.

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-03-18 21:46:31 UTC 
(rev 6624)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-03-19 18:23:49 UTC 
(rev 6625)
@@ -1181,7 +1181,9 @@
           <token postag="N [^M]*M.*" postag_regexp="yes" regexp="yes" 
inflected="yes">b.*
             <exception postag="(N f s|N m p t) M.*:1a:.*" postag_regexp="yes"/>
             <exception regexp="yes" inflected="yes">[vp].*</exception>
-            <exception regexp="yes">vrud(-(mañ|se|hont))?</exception>
+            <!-- Evit gouzout hiroc'h diwar-benn "ar vugaligoù", sellit amañ:
+                 
http://arbres.iker.univ-pau.fr/index.php/Doublage_des_marques_de_pluriel_sur_les_noms
 -->   
+            <exception 
regexp="yes">(vrud|vugaligoù)(-(mañ|se|hont))?</exception>
           </token>
         </pattern>
         <message>Direizh eo kemmañ ar ger «\2» amañ. Ha fellout a rae deoc’h 
skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="b$1"/></suggestion>?</message>
@@ -1195,6 +1197,10 @@
         <example type="correct">Ar boulloù</example>
         <example type="correct">Ar poulloù</example>
         <example type="correct">Ar vrud</example>
+        <example type="incorrect">Ar <marker>vrezelioù</marker></example>
+        <example type="incorrect">Ar <marker>prezelioù</marker></example>
+        <example type="correct">Ar brezelioù</example>
+        <example type="correct">Ar vugaligoù.</example>
       </rule>
       <rule>
         <pattern mark_from="1">
@@ -1285,19 +1291,6 @@
         <pattern mark_from="1">
           <token>ar</token>
           <and>
-            <token postag="N m p.*" postag_regexp="yes" 
regexp="yes">[vp].*où</token>
-            <token postag="N m p.*" postag_regexp="yes" regexp="yes" 
inflected="yes">b.*</token>
-          </and>
-        </pattern>
-        <message>Ne zlefe ket bezañ a gemmadur er ger «\2» amañ. Ha fellout a 
rae deoc’h skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="b$1"/></suggestion>?</message>
-        <example type="incorrect">Ar <marker>vrezelioù</marker></example>
-        <example type="incorrect">Ar <marker>prezelioù</marker></example>
-        <example type="correct">Ar brezelioù</example>
-      </rule>
-      <rule>
-        <pattern mark_from="1">
-          <token>ar</token>
-          <and>
             <token postag="N m p.*" postag_regexp="yes" 
regexp="yes">v.*où</token>
             <token postag="N m p.*" postag_regexp="yes" regexp="yes" 
inflected="yes">m.*</token>
           </and>

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


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to