Revision: 6520
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6520&view=rev
Author:   dominikoeo
Date:     2012-02-12 20:57:51 +0000 (Sun, 12 Feb 2012)
Log Message:
-----------
[br] - detect error in *Ma lunedo?\195?\185 me* -> "Ma lunedo?\195?\185-me"
     - fixed false positive in "Gant homa?\195?\177 just a-walc?\226?\128?\153h"

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-02-12 18:57:11 UTC 
(rev 6519)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-02-12 20:57:51 UTC 
(rev 6520)
@@ -585,7 +585,7 @@
       <rule>
         <pattern mark_from="1">
           <token regexp="yes">h[eo]mañ|re-se|re-mañ</token>
-          <token postag="J.*" postag_regexp="yes">
+          <token postag="J.*" postag_regexp="yes" inflected="yes" 
regexp="yes">[ktpgdbm].*
             <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
           </token>
         </pattern>
@@ -596,6 +596,7 @@
         <example type="incorrect">Homañ <marker>plijus</marker></example>
         <example type="incorrect">Homañ <marker>flijus</marker></example>
         <example type="correct">Homañ blijus</example>
+        <example type="correct">Gant homañ just a-walc'h</example>
       </rule>
       <rule>
         <pattern mark_from="1">
@@ -614,7 +615,7 @@
       <rule>
         <pattern mark_from="1">
           <token regexp="yes">h[eo]nnezh|h[eo]nhont|re-hont</token>
-          <token inflected="yes" postag="J[^M]*M.*" postag_regexp="yes" 
regexp="yes">[^gdbm].*</token>
+          <token inflected="yes" postag="J[^M]*M.*" postag_regexp="yes" 
regexp="yes">[ktp].*</token>
         </pattern>
         <message>Ne zlefe ket bezañ ur c’hemmadur en anv-gwan «\2» goude 
«\1».</message>
         <example type="incorrect">Honnezh <marker>gozh</marker></example>
@@ -2122,7 +2123,7 @@
         <pattern>
           <token regexp="yes">n[ae]</token>
           <token regexp="yes" postag="V.*" postag_regexp="yes">[aeiou].*
-            <exception regexp="yes" inflected="yes">gouzout</exception>
+            <exception inflected="yes">gouzout</exception>
             <exception inflected="yes" postag="V impa.*" 
postag_regexp="yes">bezañ</exception>
           </token>
         </pattern>
@@ -3335,6 +3336,59 @@
         <example type="correct">Un dra <marker>dreistordinal</marker> zo 
c’hoarvezet.</example>
       </rule>
     </rulegroup>
+
+    <rulegroup id="MA_ME" name="ma lunedoù me → ma lunedoù-me (hag all)">
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">[mv]a</token>
+          <token postag="N.*" postag_regexp="yes"/>
+          <token>me</token>
+        </pattern>
+        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
+        <example type="incorrect">Ma <marker>lunedoù me</marker>.</example>
+        <example type="correct">Ma lunedoù-me.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token>da</token>
+          <token postag="N.*" postag_regexp="yes"/>
+          <token>te</token>
+        </pattern>
+        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
+        <example type="incorrect">Da <marker>lunedoù te</marker>.</example>
+        <example type="correct">Da lunedoù-te.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">he|hec’h</token>
+          <token postag="N.*" postag_regexp="yes"/>
+          <token>hi</token>
+        </pattern>
+        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
+        <example type="incorrect">He <marker>lunedoù hi</marker>.</example>
+        <example type="correct">He lunedoù-hi.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">ho[rln]</token>
+          <token postag="N.*" postag_regexp="yes"/>
+          <token>ni</token>
+        </pattern>
+        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
+        <example type="incorrect">Hol <marker>lunedoù ni</marker>.</example>
+        <example type="correct">Hol lunedoù-ni.</example>
+      </rule>
+      <rule>
+        <pattern mark_from="1">
+          <token regexp="yes">ho|hoc’h</token>
+          <token postag="N.*" postag_regexp="yes"/>
+          <token>c’hwi</token>
+        </pattern>
+        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
+        <example type="incorrect">Ho <marker>lunedoù c’hwi</marker>.</example>
+        <example type="correct">Ho lunedoù-c’hwi.</example>
+      </rule>
+    </rulegroup>
   </category>
 
   <category name="Araogenn">

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


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to