Revision: 6050
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6050&view=rev
Author:   dominikoeo
Date:     2011-12-17 19:39:48 +0000 (Sat, 17 Dec 2011)
Log Message:
-----------
[br] fixed false positive in "Ar poullo?\195?\185" (reported by Joseph Monfort).

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

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-17 19:02:17 UTC 
(rev 6049)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2011-12-17 19:39:48 UTC 
(rev 6050)
@@ -1022,19 +1022,22 @@
       <rule>
         <pattern mark_from="1">
           <token regexp="yes">[au]r<exception postag="X EN_UR"/></token>
-          <and>
-            <token postag="N m s.*|N f p.*" postag_regexp="yes" 
regexp="yes">[vp].*
-              <exception postag="N m s.*|N f p.*" postag_regexp="yes" 
regexp="yes" inflected="yes">[vp].*</exception>
-              <exception>vrud</exception>
-            </token>
-            <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" 
inflected="yes">b.*
-              <exception postag="N f s.*|N m p t.*" postag_regexp="yes" 
regexp="yes" inflected="yes">b.*</exception>
-            </token>
-          </and>
+          <token postag="N [^M]* M.*" postag_regexp="yes" regexp="yes" 
inflected="yes">b.*
+            <exception postag="(N f s|N m p t) M.*:1a:.*" postag_regexp="yes"/>
+            <exception regexp="yes" inflected="yes">[vp].*</exception>
+            <exception regexp="yes">vrud(-(mañ|se|hont))?</exception>
+          </token>
         </pattern>
         <message>Direizh eo kemmañ ar ger «\2» amañ. Ha fellout a rae deoc’h 
skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="b$1"/></suggestion>?</message>
         <example type="incorrect">Ar <marker>varr</marker></example>
+        <example type="incorrect">Ar <marker>parr</marker></example>
         <example type="correct">Ar barr</example>
+        <example type="incorrect">Ar <marker>peaj</marker></example>
+        <example type="correct">Ar beaj</example>
+        <example type="incorrect">Ar <marker>peajoù</marker></example>
+        <example type="correct">Ar beajoù</example>
+        <example type="correct">Ar boulloù</example>
+        <example type="correct">Ar poulloù</example>
         <example type="correct">Ar vrud</example>
       </rule>
       <rule>

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


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to