Revision: 7705
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7705&view=rev
Author:   dominikoeo
Date:     2012-07-15 11:15:48 +0000 (Sun, 15 Jul 2012)
Log Message:
-----------
[br] fixed false positive in "Pa'z a tud"

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-07-15 
08:26:19 UTC (rev 7704)
+++ trunk/JLanguageTool/src/resource/br/disambiguation.xml      2012-07-15 
11:15:48 UTC (rev 7705)
@@ -169,7 +169,7 @@
     <rulegroup id="EZ_A" name="ez a">
         <rule>
             <pattern>
-                <token>ez</token>
+                <token regexp="yes">e?z</token>
                 <marker>
                     <token>a</token>
                 </marker>

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml        2012-07-15 08:26:19 UTC 
(rev 7704)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml        2012-07-15 11:15:48 UTC 
(rev 7705)
@@ -244,10 +244,9 @@
       <rule>
         <pattern>
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -272,7 +271,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -299,6 +298,7 @@
         <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>
+        <example type="correct">Pa’z a tud war o leve</example>
       </rule>
       <rule>
         <pattern>
@@ -306,7 +306,7 @@
             <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -331,7 +331,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -352,7 +352,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -376,7 +376,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -397,7 +397,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -431,7 +431,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -462,7 +462,7 @@
             <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -487,7 +487,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <token regexp="yes">m.*
@@ -505,10 +505,9 @@
       <rule>
         <pattern>
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>
@@ -535,7 +534,7 @@
           <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>
+            <exception postag="V.*" postag_regexp="yes" 
regexp="yes">r?a</exception>
           </token>
           <marker>
             <and>

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to