Revision: 6566
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6566&view=rev
Author:   dominikoeo
Date:     2012-03-04 10:24:12 +0000 (Sun, 04 Mar 2012)
Log Message:
-----------
[br] detect error in:
     *Ur film Jacques Tati* -> "Ur film gant Jacques Tati"

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-03-04 09:58:26 UTC 
(rev 6565)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-03-04 10:24:12 UTC 
(rev 6566)
@@ -2526,12 +2526,13 @@
 
     <rule id="HOCH_EUS" name="oc’h eus → hoc’h eus">
       <pattern>
-        <token>oc’h</token>
+        <token>oc’h<exception scope="previous">distroet</exception></token>
         <token>eus</token>
       </pattern>
       <message>Ha fellout a rae deoc’h skrivañ <suggestion>hoc’h 
eus</suggestion>?</message>
       <example type="incorrect">Asantet <marker>oc’h eus</marker>.</example>
       <example type="correct">Asantet <marker>hoc’h eus</marker>.</example>
+      <example type="correct">Distroet oc’h eus ho vakañsoù.</example>
     </rule>
 
     <rulegroup id="EZ_EUS_E_VEZ" name="ez eus → e vez">
@@ -3650,6 +3651,17 @@
       <example type="correct">Prest e vo a-benn dilun.</example>
     </rule>
 
+    <rule id="LEVR_EUS" name="levr eus → levr gant">
+      <pattern mark_from="1" mark_to="-1">
+        <token 
regexp="yes">levr(ioù)|levrig(où)?|([dtz]anevell|film|romant)(ig)?(où)?|[bfp]ezh(ioù)?-c’hoari</token>
+        <token>eus</token>
+        <token postag_regexp="yes" postag="Z . . ant" 
regexp="yes">\p{Lu}.*</token>
+      </pattern>
+      <message>Ha fellout a rae deoc’h skrivañ 
<suggestion>gant</suggestion>?</message>
+      <example type="incorrect">Ur film <marker>eus</marker> Jacques 
Tati.</example>
+      <example type="correct">Ur film gant Jacques Tati.</example>
+    </rule>
+
   </category>
 
   <category name="Douaroniezh">

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