Revision: 5933
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=5933&view=rev
Author:   dominikoeo
Date:     2011-11-18 23:57:18 +0000 (Fri, 18 Nov 2011)
Log Message:
-----------
[br] fixed false positive in "Nag a boan" (and others).

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-11-18 23:51:55 UTC 
(rev 5932)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-11-18 23:57:18 UTC 
(rev 5933)
@@ -237,13 +237,16 @@
             <exception postag="P|L e" postag_regexp="yes">e</exception>
           </token>
           <and>
-            <token regexp="yes">g[^w].*</token>
+            <token regexp="yes">g[^w].*
+              <exception>get</exception>
+            </token>
             <token regexp="yes" inflected="yes">g[^w].*</token>
           </and>
         </pattern>
         <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha 
fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="c’h$1"/></suggestion>?</message>
         <example type="incorrect">Pa <marker>goulennas</marker></example>
         <example type="correct">Pa c’houlennas</example>
+        <example type="correct">Da get buan a-walc’h</example>
       </rule>
       <rule>
         <pattern mark_from="1">
@@ -1680,26 +1683,21 @@
       <example type="incorrect">Chom <marker>a sav</marker> ar bus.</example>
       <example type="correct">Chom a-sav ar bus.</example>
     </rule>
-    <rule id="A_DU" name="a du → a-du">
+    <rule id="A_DREUZ" name="a dreuz → a-dreuz (hag all)">
       <pattern>
-        <token>a<exception scope="previous">meur</exception></token>
-        <token regexp="yes">du|zoare</token>
+        <token>a<exception scope="previous" 
regexp="yes">kement|meur|nag</exception></token>
+        <token 
regexp="yes">barzh|beban|belec’h|benn(adoù|-kaer)?|bik|bil|blad|blaen|blom|boan|bouez(-penn)?|boullad|c’houde(vezh)?|c’wenn|dal|dammoù|denn-askell|dizh|douez|doulladoù|drak|dreist|drek|dreñv|dreuz|drugarez|du|enep|feson|fet|feur|flav|fourch|fuilh|geñver|gleiz|greiz(-holl)?|grenn|hed(-all)?|herr|hervez|istribilh|led|leizh|nevez|ouez|raok|ratozh|skouer|stlabez|viskoazh|vremañ|walc’h|wechoù|wezhioù|youl|zehou|zevri|ziabarzh|ziabell|ziadreñv|ziagent|ziaraok|ziavaez|zindan|zioc’h|ziouzh|zivout|ziwar(-(c’horre|dro|laez|lerc’h))?|zoare</token>
       </pattern>
       <message>Implijit <suggestion>\1-\2</suggestion>.</message>
+      <example type="incorrect">Amzer <marker>a walc’h</marker> am 
eus.</example>
+      <example type="correct">Amzer a-walc’h am eus.</example>
+      <example type="correct">Nag a boan am boa!</example>
+      <example type="correct">Kement a boan am boa!</example>
       <example type="incorrect"><marker>A du</marker> emaon.</example>
       <example type="correct">A-du emaon.</example>
       <example type="correct">kemer perzh enno e meur a du.</example>
       <example type="correct">Meur a zoare a zo da gemer perzh</example>
     </rule>
-    <rule id="A_DREUZ" name="a dreuz → a-dreuz (hag all)">
-      <pattern>
-        <token>a</token>
-        <token 
regexp="yes">barzh|beban|belec’h|benn(adoù|-kaer)?|bik|bil|blad|blaen|blom|boan|bouez(-penn)?|boullad|c’houde(vezh)?|c’wenn|dal|dammoù|denn-askell|dizh|douez|doulladoù|drak|dreist|drek|dreñv|dreuz|drugarez|enep|feson|fet|feur|flav|fourch|fuilh|geñver|gleiz|greiz(-holl)?|grenn|hed(-all)?|herr|hervez|istribilh|led|leizh|nevez|ouez|raok|ratozh|skouer|stlabez|viskoazh|vremañ|walc’h|wechoù|wezhioù|youl|zehou|zevri|ziabarzh|ziabell|ziadreñv|ziagent|ziaraok|ziavaez|zindan|zioc’h|ziouzh|zivout|ziwar(-(c’horre|dro|laez|lerc’h))?</token>
-      </pattern>
-      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
-      <example type="incorrect">Amzer <marker>a walc’h</marker> am 
eus.</example>
-      <example type="correct">Amzer a-walc’h am eus.</example>
-    </rule>
     <rule id="E_KREIZ" name="e kreiz→ e-kreiz (hag all)">
       <pattern>
         <token>e</token>

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to