Revision: 6054
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6054&view=rev
Author:   dominikoeo
Date:     2011-12-17 21:47:44 +0000 (Sat, 17 Dec 2011)
Log Message:
-----------
[br] detect spurious word mutation after "hor"
     such as in *hor vrec?\226?\128?\153h* ?\226?\134?\146 "hor 
brec?\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        2011-12-17 21:07:40 UTC 
(rev 6053)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-17 21:47:44 UTC 
(rev 6054)
@@ -903,11 +903,11 @@
         <example type="correct">Yaou Bask</example>
       </rule>
     </rulegroup>
-    <rulegroup id="FAZ_KEMM_DRE_VLOTAAT_AR" name="kemmadur dre vlotaat en anv 
goude ar ger-mell.">
+    <rulegroup id="KEMM_HOR" name="kemmadur goude «hor»">
       <rule>
         <pattern mark_from="1">
           <token>hor</token>
-          <token inflected="yes" regexp="yes">k.*<exception 
regexp="yes">c.*</exception></token>
+          <token inflected="yes" regexp="yes">k.*<exception 
regexp="yes">c’h.*</exception></token>
         </pattern>
         <message>Kemmadur direizh. Goude ar ger «\1» e tro «\2» da 
<suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="c’h$1"/></suggestion>.</message>
         <example type="incorrect">Hor <marker>kiez</marker></example>
@@ -918,6 +918,18 @@
       </rule>
       <rule>
         <pattern mark_from="1">
+          <token>hor</token>
+          <token postag="[^M]*M:[^0]*" postag_regexp="yes"/>
+        </pattern>
+        <message>Ne zlefe ket bezañ ur c’hemmadur goude «\1».</message>
+        <example type="incorrect">Hor <marker>vrec’h</marker></example>
+        <example type="correct">Hor brec’h</example>
+        <example type="correct">Hor c’hadorioù</example>
+      </rule>
+    </rulegroup>
+    <rulegroup id="FAZ_KEMM_DRE_VLOTAAT_AR" name="kemmadur dre vlotaat en anv 
goude ar ger-mell.">
+      <rule>
+        <pattern mark_from="1">
           <token regexp="yes">[au]r<exception postag="X EN_UR"/></token>
           <and>
             <token postag="N .*" postag_regexp="yes" regexp="yes">[zt].*

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


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to