Revision: 7157
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7157&view=rev
Author:   dominikoeo
Date:     2012-06-02 09:04:01 +0000 (Sat, 02 Jun 2012)
Log Message:
-----------
[br] Detect error in *Kalz a tud*, *Kalz a zud* -> Kalz a dud.
     Google search confirms that people make the wrong mutation here.

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-06-02 09:01:28 UTC 
(rev 7156)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-06-02 09:04:01 UTC 
(rev 7157)
@@ -256,9 +256,9 @@
           </token>
           <marker>
             <and>
-              <token regexp="yes" inflected="yes">t.*</token>
+              <token regexp="yes" inflected="yes">t.*|den</token>
               <token regexp="yes">[tz].*
-                <exception regexp="yes" inflected="yes">d.*</exception>
+                <exception regexp="yes" inflected="yes">(?!den$)d.*</exception>
                 <exception regexp="yes">te|zo</exception>
                 <exception regexp="yes" inflected="yes">z.*</exception>
               </token>
@@ -276,6 +276,9 @@
         <example type="correct">Petra a zo c’hoarvezet?</example>
         <example type="correct">Da dour</example>
         <example type="correct">Daou zoo</example>
+        <example type="incorrect">Kalz a <marker>tud</marker></example>
+        <example type="incorrect">Kalz a <marker>zud</marker></example>
+        <example type="correct">Kalz a dud</example>
       </rule>
       <rule>
         <pattern>

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to