Revision: 9774
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9774&view=rev
Author:   dominikoeo
Date:     2013-03-24 16:23:18 +0000 (Sun, 24 Mar 2013)
Log Message:
-----------
[br] fixed false error in rule KEMM_N_J since when adjective has
     suffixes such as -kena?\195?\177, -tre, -meurbet, the mutation of
     the adjective is not always done.

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml

Modified: 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-24 15:16:23 UTC (rev 9773)
+++ 
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
        2013-03-24 16:23:18 UTC (rev 9774)
@@ -16,6 +16,7 @@
 Some grammatical resources used:
 
 * [CHALM] La grammaire bretonne pour tous (Eugène CHALM).
+* [HEMON] Gramaire Breton (Roparz Hemon).
 * [MKKER] Le guide du bretonnant (Mark KERRAIN).
 
 Useful links:
@@ -2758,7 +2759,7 @@
             <token postag="J.*" postag_regexp="yes" inflected="yes" 
regexp="yes">[ktpgbm].*
               <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
               <exception postag="J.*|K e sp o" postag_regexp="yes" 
negate_pos="yes"/>
-              <exception>bennak</exception>
+              <exception regexp="yes">bennak|.*-(kenañ|tre|meurbet)</exception>
             </token>
           </marker>
           <token negate="yes">ha</token>
@@ -2772,6 +2773,8 @@
         <example type="incorrect">An dra <marker>kentañ</marker>.</example>
         <example type="correct">An dra <marker>gentañ</marker>.</example>
         <example type="correct">Un dra <marker>bennak</marker>.</example>
+        <example type="correct">An avel <marker>kreñv-tre</marker>.</example>
+        <example type="correct">An avel <marker>greñv-tre</marker>.</example>
       </rule>
       <rule>
         <pattern>
@@ -2779,12 +2782,12 @@
             <exception postag="N f p.*|N m s.*|N m p|N m p [^t].*|V.*" 
postag_regexp="yes"/>
           </token>
           <marker>
-            <token postag="J.*" postag_regexp="yes" inflected="yes" 
regexp="yes">[gdbm].*
+            <token postag="J.*" postag_regexp="yes" inflected="yes" 
regexp="yes">[gbm].*
               <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
               <exception postag="J.*" postag_regexp="yes" negate_pos="yes"/>
               <!-- bennak is marked as an adjective in the diction, it
                    should be an adverb -->
-              <exception>bennak</exception>
+              <exception regexp="yes">bennak|.*-(kenañ|tre|meurbet)</exception>
             </token>
           </marker>
           <token negate="yes">ha</token>
@@ -2802,6 +2805,10 @@
         <example type="correct">Ur gevredigezh ouiziek.</example>
         <example type="correct">Ur gouel bras.</example>
         <example type="correct">Gwelet em eus <marker>paot-mat</marker> a dud 
eno.</example>
+        <example type="correct">Ur stêr vras-tre.</example>
+        <example type="correct">Ur stêr bras-tre.</example>
+        <example type="correct">Tud drouk.</example>
+        <example type="correct">Ur vrozh zu.</example>
       </rule>
       <rule>
         <pattern>
@@ -2940,7 +2947,7 @@
             <token postag="N e[^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
             <token postag="J[^M]*" postag_regexp="yes" regexp="yes" 
inflected="yes">[ktpgdbm].*
               <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
-              <exception postag="J[^M]*" postag_regexp="yes" inflected="yes" 
regexp="yes">[^ktpgdbm].*</exception>
+              <exception postag="J[^M]*" postag_regexp="yes" inflected="yes" 
regexp="yes">[^ktpgbm].*</exception>
             </token>
           </marker>
           <token negate="yes">ha</token>

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to