Revision: 7891
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7891&view=rev
Author:   dominikoeo
Date:     2012-08-19 21:27:37 +0000 (Sun, 19 Aug 2012)
Log Message:
-----------
[br] detect invalid mutation or words beginning with k
     after article "ar" when they have UNKNOWN pos.
     In that case, we can't guess the correction.
     Ex: *Ar Kab-Sizun* -> Ar C'hab-Sizun

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-08-19 20:20:58 UTC 
(rev 7890)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-08-19 21:27:37 UTC 
(rev 7891)
@@ -240,6 +240,17 @@
         <example type="correct">Fur eo ar plac’hig-se.</example>
       </rule>
     </rulegroup>
+    <rule id="AR_K" name="ar + k-word">
+      <pattern>
+        <token regexp="yes">[au]r</token>
+        <marker>
+          <token regexp="yes" postag="UNKNOWN">k.*</token>
+        </marker>
+      </pattern>
+      <message>Ne c'hall ket bezañ un anv a grog gant «k» goude ar ger-mell 
«\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" 
regexp_match=".(.*)" regexp_replace="c’h$1" 
case_conversion="preserve"/></suggestion> pe <suggestion><match no="2" 
regexp_match=".(.*)" regexp_replace="g$1" 
case_conversion="preserve"/></suggestion>?</message>
+      <example type="incorrect">Brav eo ar 
<marker>Kab-Sizun</marker>.</example>
+      <example type="correct">Brav eo ar 
<marker>C’hab-Sizun</marker>.</example>
+    </rule>
     <rulegroup id="KEMM_DRE_VLOTAAT_GER" name="kemmadur dre vlotaat goude 
gerioù zo.">
       <rule>
         <pattern>

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to