Revision: 7094
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7094&view=rev
Author:   dominikoeo
Date:     2012-05-28 14:58:52 +0000 (Mon, 28 May 2012)
Log Message:
-----------
[br] added rule to find confusions between "pegent" and "pegen":
     *Pegent fentus eo.* -> Pegen fentus eo.

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-05-28 11:28:45 UTC 
(rev 7093)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-05-28 14:58:52 UTC 
(rev 7094)
@@ -5990,6 +5990,41 @@
       <example type="incorrect">Kelenner eo <marker>abaoe bloavezhioù 
zo</marker>.</example>
       <example type="correct">Kelenner eo abaoe bloavezhioù.</example>
     </rule>
+
+    <rulegroup id="PEGENT_PEGEN" name="pegent → pegen">
+      <rule>
+        <pattern>
+          <token postag="SENT_START"/>
+          <marker><token>pegent</token></marker>
+          <token postag_regexp="yes" postag="J|V ppa"/>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>pegen</suggestion>?</message>
+        <example type="incorrect"><marker>Pegent</marker> fentus eo.</example>
+        <example type="correct">Pegen fentus eo.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token regexp="yes">na|ket</token>
+          <marker><token>pegent</token></marker>
+          <token postag_regexp="yes" postag="J|V ppa"/>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>pegen</suggestion>?</message>
+        <example type="incorrect">Na <marker>pegent</marker> brav!</example>
+        <example type="correct">Na <marker>pegen</marker> brav!</example>
+        <example type="incorrect">Ne zisonjfez ket <marker>pegent</marker> 
brav eo.</example>
+        <example type="correct">Ne zisonjfez ket pegen brav eo.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token postag="V .*" postag_regexp="yes"/>
+          <marker><token>pegent</token></marker>
+          <token postag_regexp="yes" postag="J|V ppa"/>
+        </pattern>
+        <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>pegen</suggestion>?</message>
+        <example type="incorrect">Peogwir e oar <marker>pegent</marker> 
nec'het eo ar re all gantañ.</example>
+        <example type="correct">Peogwir e oar pegen nec'het eo ar re all 
gantañ.</example>
+      </rule>
+    </rulegroup>
      
   </category>
   <!-- vim: foldmethod=marker foldmarker=<category,</category:

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to