Revision: 10051
          http://sourceforge.net/p/languagetool/code/10051
Author:   dominikoeo
Date:     2013-05-07 04:23:29 +0000 (Tue, 07 May 2013)
Log Message:
-----------
[br] improved rule O_DA to detect error in:
     *Laouen on da veza?\195?\177 ganit.* -> Laouen on o veza?\195?\177 ganit.

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-05-07 02:49:56 UTC (rev 10050)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-05-07 04:23:29 UTC (rev 10051)
@@ -7970,9 +7970,74 @@
         <example type="incorrect" correction="oc’h ober">Laouen on 
<marker>d’ober</marker> anaoudegezh ganeoc’h.</example>
         <example type="correct">Laouen on oc’h ober anaoudegezh 
ganeoc’h.</example>
       </rule>
+
       <rule>
         <pattern>
           <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
+          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
+          <marker><token>da</token></marker>
+          <token postag="V inf M:1:.*:" postag_regexp="yes" regexp="yes" 
inflected="yes">[mgb].*</token>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>o</suggestion>?</message>
+        <example type="incorrect">Laouen on <marker>da</marker> vezañ 
ganit.</example>
+        <example type="correct">Laouen on <marker>o</marker> vezañ 
ganit.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
+          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
+          <marker>
+            <token>da</token>
+            <token postag="V inf M:1:1a:" regexp="yes" 
inflected="yes">k.*</token>
+          </marker>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" 
regexp_match="^." regexp_replace="k"/></suggestion>?</message>
+        <example type="incorrect" correction="o klevout">Laouen on <marker>da 
glevout</marker> se.</example>
+        <example type="correct">Laouen on <marker>o klevout</marker> 
se.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
+          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
+          <marker>
+            <token>da</token>
+            <token postag="V inf M:1:1a:" regexp="yes" 
inflected="yes">p.*</token>
+          </marker>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" 
regexp_match="^." regexp_replace="p"/></suggestion>?</message>
+        <example type="incorrect" correction="o prenañ">Laouen omp <marker>da 
brenañ</marker> se.</example>
+        <example type="correct">Laouen omp <marker>o prenañ</marker> 
se.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
+          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
+          <marker>
+            <token>da</token>
+            <token postag="V inf M:1:1a:" regexp="yes" 
inflected="yes">t.*</token>
+          </marker>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" 
regexp_match="^." regexp_replace="t"/></suggestion>?</message>
+        <example type="incorrect" correction="o touzañ">Laouen on <marker>da 
douzañ</marker> ho leton.</example>
+        <example type="correct">Laouen on <marker>o touzañ</marker> ho 
leton.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
+          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
+          <marker>
+            <token>da</token>
+            <token postag="V inf M:1:1b:4:" regexp="yes" 
inflected="yes">d.*</token>
+          </marker>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" 
regexp_match="^." regexp_replace="t"/></suggestion>?</message>
+        <example type="incorrect" correction="o teskiñ">Laouen on <marker>da 
zeskiñ</marker> brezhoneg.</example>
+        <example type="correct">Laouen on o teskiñ brezhoneg.</example>
+      </rule>
+
+      <rule>
+        <pattern>
+          <token 
regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
           <token>e</token>
           <token 
regexp="yes">oan|oas|oa|oamp|oac‘h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
           <marker><token>da</token></marker>

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to