Revision: 9755
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9755&view=rev
Author:   dominikoeo
Date:     2013-03-22 21:18:36 +0000 (Fri, 22 Mar 2013)
Log Message:
-----------
[br] fixed false positive in rule A_GEVRED and added
     checks for some corrections.

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-22 20:42:49 UTC (rev 9754)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-22 21:18:36 UTC (rev 9755)
@@ -3166,7 +3166,7 @@
         <token regexp="yes" 
inflected="yes">tsunami|tsar|jazz|jean|joniged</token>
       </pattern>
       <message>Ar ger-mell <suggestion><match no="1" regexp_match=".$" 
regexp_replace="r"/></suggestion> pe <suggestion><match no="1" 
regexp_match=".$" regexp_replace="n"/></suggestion> a vez implijet gant ar ger 
estren «\2». (CHALM L3)</message>
-      <example type="incorrect"><marker>Al</marker> tsunami</example>
+      <example type="incorrect" correction="Ar|An"><marker>Al</marker> 
tsunami</example>
       <example type="correct">Ar tsunami</example>
       <example type="correct">An tsunami</example>
     </rule>
@@ -3182,7 +3182,7 @@
         <token postag="V.*" postag_regexp="yes"/>
       </pattern>
       <message>Rannig-verb ebet goude «\1». Ha fellout a rae deoc’h skrivañ 
<suggestion>\1 \3</suggestion>?</message>
-      <example type="incorrect"><marker>Pa e</marker> oan yaouankoc’h</example>
+      <example type="incorrect" correction="Pa oan"><marker>Pa e</marker> oan 
yaouankoc’h</example>
       <example type="correct">Pa oan yaouankoc’h</example>
     </rule>
     <rule id="HAG_HA" name="hag ha → hag a">
@@ -3323,7 +3323,7 @@
         <token regexp="yes">[lnr]</token>
       </pattern>
       <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" 
regexp_match="^(.).*" regexp_replace="$1"/>’a\2</suggestion>?</message>
-      <example type="incorrect"><marker>Da’r</marker> mare ma oan o tigeriñ an 
nor</example>
+      <example type="incorrect" correction="D’ar"><marker>Da’r</marker> mare 
ma oan o tigeriñ an nor</example>
       <example type="correct">D’ar mare ma oan o tigeriñ an nor</example>
     </rule>
     <rule id="MZ_EUS" name="m’eus → ’m eus">
@@ -3494,7 +3494,7 @@
           <token>ugent</token>
         </pattern>
         <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\1-\2</suggestion>?</message>
-        <example type="incorrect"><marker>Daou ugent</marker></example>
+        <example type="incorrect" correction="Daou-ugent"><marker>Daou 
ugent</marker></example>
         <example type="correct">Daou-ugent</example>
       </rule>
     </rulegroup>
@@ -3504,7 +3504,7 @@
         <token>kant</token>
       </pattern>
       <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\1-\2</suggestion>?</message>
-      <example type="incorrect"><marker>Hanter kant</marker></example>
+      <example type="incorrect" correction="Hanter-kant"><marker>Hanter 
kant</marker></example>
       <example type="correct">Hanter-kant</example>
     </rule>
     <rule id="HUNTERKANTVET" name="hanter-kantvet → hanterkantvet">
@@ -3648,7 +3648,7 @@
         <token inflected="yes" 
regexp="yes">azezañ|dihuniñ|diskuizhañ|ebatal|faziañ|hastañ|klemm|kluchañ|sevel|stouiñ|tevel|treiñ|troc’hañ</token>
       </pattern>
       <message>Ne vez ket implijet «en em» gant ar verb «\3». Ha fellout a rae 
doc’h skrivañ <suggestion>\3</suggestion>?</message>
-      <example type="incorrect"><marker>En em faziañ</marker> a rit.</example>
+      <example type="incorrect" correction="Faziañ"><marker>En em 
faziañ</marker> a rit.</example>
       <example type="correct">Faziañ a rit.</example>
       <example type="correct">En em gemer a rez re ziwezhat.</example>
       <example type="incorrect">Pa <marker>en em zihunan</marker> re abred, ne 
savan ket diouzhtu.</example>
@@ -3778,7 +3778,7 @@
           <token inflected="yes" postag="V (pres|futu|impa|conf|conj) ([12] 
.|3 p|impers sp)" postag_regexp="yes">ober</token>
         </pattern>
         <message>Ar verb «\1» a vez graet gantañ hepken en trede gour unan. 
Implijit <suggestion>\1 \2 ra</suggestion> + 
«din/dit/dezhañ/dezhi/dimp/deoc’h/dezho».</message>
-        <example type="incorrect"><marker>Fellout a reomp</marker> mont 
kuit.</example>
+        <example type="incorrect" correction="Fellout a ra"><marker>Fellout a 
reomp</marker> mont kuit.</example>
         <example type="incorrect"><marker>Fellout a rajen</marker> mont 
kuit.</example>
         <example type="correct">Fellout a ra dimp mont kuit.</example>
         <example type="correct">Fellout a raje din mont kuit.</example>
@@ -6581,10 +6581,10 @@
           </marker>
         </pattern>
         <message>Ret eo ober gant «ebet» evit an anvioù niveradus. Ha fellout 
a rae deoc’h skrivañ <suggestion>\4 ebet</suggestion>?</message>
-        <example type="incorrect">N’eus <marker>ket kudenn</marker>.</example>
+        <example type="incorrect" correction="kudenn ebet">N’eus <marker>ket 
kudenn</marker>.</example>
         <example type="correct">N’eus kudenn ebet.</example>
-        <example type="incorrect">Ne vo <marker>ket kudenn</marker>.</example>
-        <example type="incorrect">Ne oa <marker>ket kudenn</marker>.</example>
+        <example type="incorrect" correction="kudenn ebet">Ne vo <marker>ket 
kudenn</marker>.</example>
+        <example type="incorrect" correction="kudenn ebet">Ne oa <marker>ket 
kudenn</marker>.</example>
         <example type="correct">Ne vo kudenn ebet.</example>
       </rule>
     </rulegroup>
@@ -6931,7 +6931,7 @@
         <token>ket</token>
       </pattern>
       <message>N’haller ket implijout «ket» hep verb evel e galleg. Ha fellout 
a rae deoc’h skrivañ <suggestion>\1 n’eo ket</suggestion>?</message>
-      <example type="incorrect">Ober a ran chistr, <marker>ha ket</marker> 
lambig.</example>
+      <example type="incorrect" correction="ha n’eo ket">Ober a ran chistr, 
<marker>ha ket</marker> lambig.</example>
       <example type="correct">Ober a ran chistr, ha n’eo ket lambig.</example>
     </rule>
 
@@ -6978,7 +6978,7 @@
         <token 
regexp="yes">(c’hement|gement)(iñ|et)?|(ilin|gromm)(añ|et)?|roadek|bik|lamm(et)?|dortet</token>
       </pattern>
       <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\1\2</suggestion>?</message>
-      <example type="incorrect">Ar pal zo <marker>daou c’hementiñ</marker> an 
niver a dud o teskiñ brezhoneg.</example>
+      <example type="incorrect" correction="daouc’hementiñ">Ar pal zo 
<marker>daou c’hementiñ</marker> an niver a dud o teskiñ brezhoneg.</example>
       <example type="correct">Ar pal zo <marker>daouc’hementiñ</marker> an 
niver a dud o teskiñ brezhoneg.</example>
     </rule>
 
@@ -7069,7 +7069,7 @@
         <token>ya</token>
       </pattern>
       <message>Implijit <suggestion>feiz \2</suggestion>.</message>
-      <example type="incorrect"><marker>Beñ ya</marker>!</example>
+      <example type="incorrect" correction="Feiz ya"><marker>Beñ 
ya</marker>!</example>
       <example type="correct"><marker>Feiz ya</marker>!</example>
     </rule>
 
@@ -7321,7 +7321,7 @@
         <token>zo</token>
       </pattern>
       <message>Implijit <suggestion>\1 \2</suggestion>.</message>
-      <example type="incorrect">Kelenner eo <marker>abaoe bloavezhioù 
zo</marker>.</example>
+      <example type="incorrect" correction="abaoe bloavezhioù">Kelenner eo 
<marker>abaoe bloavezhioù zo</marker>.</example>
       <example type="correct">Kelenner eo abaoe bloavezhioù.</example>
     </rule>
 
@@ -7525,7 +7525,7 @@
           <token>prederouriezh</token>
         </pattern>
         <message>Implijit <suggestion>\1 war ar 
brederouriezh</suggestion>.</message>
-        <example type="incorrect"><marker>Kelennerez prederouriezh</marker> e 
oa.</example>
+        <example type="incorrect" correction="Kelennerez war ar 
brederouriezh"><marker>Kelennerez prederouriezh</marker> e oa.</example>
         <example type="correct">Kelennerez war ar brederouriezh e oa.</example>
       </rule>
     </rulegroup>
@@ -7541,17 +7541,31 @@
     <rulegroup id="A_GEVRED" name="a-gevred → a-gevret">
       <rule>
         <pattern>
+          <token regexp="yes">holl|stourm</token>
           <marker>
             <token>a</token>
             <token>gevred</token>
           </marker>
         </pattern>
-        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\1-gevret</suggestion>?</message>
-        <example type="incorrect">Holl <marker>a gevred</marker> gant gouel al 
labourerien!</example>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\2-gevret</suggestion>?</message>
+        <example type="incorrect" correction="a-gevret">Holl <marker>a 
gevred</marker> gant gouel al labourerien!</example>
         <example type="correct">Holl a-gevret gant gouel al 
labourerien!</example>
+        <example type="correct">Emañ lec’hiet e kornôg Italia, a gevred Stad 
Frañs.</example>
       </rule>
       <rule>
         <pattern>
+          <marker>
+            <token>a</token>
+            <token>gevred</token>
+          </marker>
+          <token inflected="yes">gant</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>\1-gevret</suggestion>?</message>
+        <example type="incorrect" correction="a-gevret">Mont a rin <marker>a 
gevred</marker> ganeoc’h</example>
+        <example type="correct">Mont a rin <marker>a-gevret</marker> 
ganeoc’h</example>
+      </rule>
+      <rule>
+        <pattern>
           <marker><token>a-gevred</token></marker>
         </pattern>
         <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>a-gevret</suggestion>?</message>

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to