Revision: 10490
          http://sourceforge.net/p/languagetool/code/10490
Author:   marcoagpinto
Date:     2013-07-11 22:31:38 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
[PT]
Improved the "a sua" rule a bit by adding exceptions.

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

Modified: 
trunk/languagetool/languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
        2013-07-11 15:32:54 UTC (rev 10489)
+++ 
trunk/languagetool/languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
        2013-07-11 22:31:38 UTC (rev 10490)
@@ -21,7 +21,7 @@
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 
-$Id: grammar.xml,v 1.053 2013-07-09 00:40:00 marcoagpinto Exp $
+$Id: grammar.xml,v 1.054 2013-07-11 23:30:00 marcoagpinto Exp $
 -->
 <rules lang="pt" xsi:noNamespaceSchemaLocation="../rules.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
 
@@ -1364,7 +1364,7 @@
     <rule id="A_SUA" name="a sua">
       <pattern>
         <marker>
-          <token>sua<exception scope="previous">a</exception></token>
+          <token>sua<exception scope="previous" 
regexp="yes">a|à|da|de|por|pela</exception></token>
         </marker>
         <token><exception 
regexp="yes">majestade|realeza|divindade|excelência|eminência</exception></token>
       </pattern>

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to