Revision: 6558
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6558&view=rev
Author:   dominikoeo
Date:     2012-02-27 21:13:40 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
[br] - fixed false positive in "Gant teir pe peder nozvezh"
     - fixed false positive in "Mari gozh"

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-02-27 20:11:40 UTC 
(rev 6557)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-02-27 21:13:40 UTC 
(rev 6558)
@@ -18,7 +18,6 @@
 
 Useful links:
 * http://br.wikipedia.org/wiki/Wikipedia:Fazio%C3%B9_stanka%C3%B1G
-
 -->
 <rules lang="br"
        xsi:noNamespaceSchemaLocation="../rules.xsd"
@@ -873,13 +872,14 @@
           </token>
           <and>
             <token regexp="yes" inflected="yes">b.*</token>
-            <token regexp="yes">[pv].*</token>
+            <token regexp="yes">[pv].*<exception>pe</exception></token>
           </and>
         </pattern>
         <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae 
deoc’h skrivañ <suggestion><match no="2" regexp_match=".(.*)" 
regexp_replace="b$1"/></suggestion>?</message>
         <example type="incorrect">Tri <marker>vleiz</marker></example>
         <example type="incorrect">Tri <marker>pleiz</marker></example>
         <example type="correct">Tri <marker>bleiz</marker></example>
+        <example type="correct">Gant teir <marker>pe</marker> peder 
nozvezh</example>
       </rule>
       <rule>
         <pattern mark_from="1">
@@ -1789,7 +1789,7 @@
       <rule>
         <pattern mark_from="1">
           <token postag="N f p.*|N m s.*" postag_regexp="yes">
-            <exception postag="N f s.*|N m p t.*" postag_regexp="yes"/>
+            <exception postag="[NZ] f s.*|N m p t.*" postag_regexp="yes"/>
             <exception regexp="yes" 
inflected="yes">.|re|aer|avel|brud|c’hoari|c’hwezh|gwall|lur|revr|seul|tra|war</exception>
           </token>
           <token postag="J[^M]*M:.*" postag_regexp="yes">
@@ -1806,6 +1806,7 @@
         <example type="correct">Re yaouank ha re gozh</example>
         <example type="correct">Un dra vat</example>
         <example type="correct">An amzer gaer</example>
+        <example type="correct">Mari gozh</example>
       </rule>
     </rulegroup>
 

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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to