Revision: 6595
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6595&view=rev
Author:   dominikoeo
Date:     2012-03-12 21:26:12 +0000 (Mon, 12 Mar 2012)
Log Message:
-----------
[br] disambiguate the particule "ra" so that we can detect
     missing soft mutations after it as in:
     *Ra deuint* -> "Ra zeuint"

Modified Paths:
--------------
    trunk/JLanguageTool/src/resource/br/disambiguation.xml
    trunk/JLanguageTool/src/rules/br/grammar.xml

Modified: trunk/JLanguageTool/src/resource/br/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/br/disambiguation.xml      2012-03-12 
20:25:33 UTC (rev 6594)
+++ trunk/JLanguageTool/src/resource/br/disambiguation.xml      2012-03-12 
21:26:12 UTC (rev 6595)
@@ -217,4 +217,12 @@
     </pattern>
     <disambig postag="J itg"/>
   </rule>
+  <rule id="RA" name="particule ra">
+    <pattern mark="1">
+      <token postag="SENT_START"/>
+      <token>ra</token>
+      <token postag="V (futu|conf) .*" postag_regexp="yes"/>
+    </pattern>
+    <disambig postag="L r"/>
+  </rule>
 </rules>

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2012-03-12 20:25:33 UTC 
(rev 6594)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-03-12 21:26:12 UTC 
(rev 6595)
@@ -200,10 +200,11 @@
     <rulegroup id="KEMM_DRE_VLOTAAT_GER" name="kemmadur dre vlotaat goude 
gerioù zo.">
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="V.*" postag_regexp="yes">a</exception>
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">k.*
@@ -221,9 +222,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">t.*</token>
@@ -248,10 +250,11 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception scope="previous">ez</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">p.*</token>
@@ -271,9 +274,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">gw.*</token>
@@ -287,9 +291,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
               <exception postag="C coor">pe</exception>
+              <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">g(?!ou[ie])[^w].*
@@ -308,9 +313,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes">gou[ie].*
@@ -326,9 +332,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes" postag="UNKNOWN" 
negate_pos="yes">d.*
@@ -356,9 +363,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes" inflected="yes" postag="UNKNOWN" 
negate_pos="yes">d.*
@@ -383,10 +391,11 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception scope="previous" regexp="yes">e?z|ned</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes">b.*
@@ -406,9 +415,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <token regexp="yes">m.*
             <exception regexp="yes" 
inflected="yes">[mp][ae]|ma’|meur|mHz|mm</exception>
@@ -423,10 +433,11 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="V.*" postag_regexp="yes">a</exception>
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes">c’h.*
@@ -446,9 +457,10 @@
       </rule>
       <rule>
         <pattern mark_from="1">
-          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|re|seul
+          <token 
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|pe|ra|re|seul
             <exception postag="P|L e" postag_regexp="yes">e</exception>
             <exception postag="C coor">pe</exception>
+            <exception postag="V.*" postag_regexp="yes">ra</exception>
           </token>
           <and>
             <token regexp="yes">z.*

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


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to