Revision: 8322
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8322&view=rev
Author:   marcoagpinto
Date:     2012-11-09 12:30:34 +0000 (Fri, 09 Nov 2012)
Log Message:
-----------
[PT]
Added three new rules, two of which aren't detected in Microsoft Office 2010.

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

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pt/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pt/grammar.xml    
    2012-11-09 00:23:39 UTC (rev 8321)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pt/grammar.xml    
    2012-11-09 12:30:34 UTC (rev 8322)
@@ -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.036 2012-11-01 13:27:00 marcoagpinto Exp $
+$Id: grammar.xml,v 1.037 2012-11-09 12:26: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";>
 
@@ -588,8 +588,38 @@
       <example type="correct">Isto é feito <marker>para que</marker> os 
cidadãos possam ser livres.</example>
     </rule>
 
- 
 
+
+     <!-- DE MANEIRA A QUE de maneira que -->
+    <rule id="DE_MANEIRA_A_QUE" name="de maneira que">
+      <pattern>
+        <token>de</token>
+        <token>maneira</token>
+        <token>a</token>
+        <token>que</token>
+      </pattern>
+      <message>Substituir «de maneira a que» por <suggestion>de maneira 
que</suggestion>.</message>
+      <example type="incorrect">Isto é feito <marker>de maneira a que</marker> 
os cidadãos possam ser livres.</example>
+      <example type="correct">Isto é feito <marker>de maneira que</marker> os 
cidadãos possam ser livres.</example>
+    </rule>
+
+
+
+      <!-- DE MODO A QUE de modo que -->
+    <rule id="DE_MODO_A_QUE" name="de modo que">
+      <pattern>
+        <token>de</token>
+        <token>modo</token>
+        <token>a</token>
+        <token>que</token>
+      </pattern>
+      <message>Substituir «de modo a que» por <suggestion>de modo 
que</suggestion>.</message>
+      <example type="incorrect">Isto é feito <marker>de modo a que</marker> os 
cidadãos possam ser livres.</example>
+      <example type="correct">Isto é feito <marker>de modo que</marker> os 
cidadãos possam ser livres.</example>
+    </rule>
+
+
+
     <!-- DE VÊS EM QUANDO de vez em quando -->
     <rule id="DE_VÊS_EM_QUANDO" name="de vez em quando">
       <pattern>
@@ -1175,6 +1205,21 @@
 
 
 
+    <!-- POR FORMA A QUE para que -->
+    <rule id="POR_FORMA_A_QUE" name="para que">
+      <pattern>
+        <token>por</token>
+        <token>forma</token>
+        <token>a</token>
+        <token>que</token>
+      </pattern>
+      <message>Substituir «por forma a que» por <suggestion>para 
que</suggestion>.</message>
+      <example type="incorrect">Isto é feito <marker>por forma a que</marker> 
os cidadãos possam ser livres.</example>
+      <example type="correct">Isto é feito <marker>para que</marker> os 
cidadãos possam ser livres.</example>
+    </rule>
+
+
+
     <!-- PRÉ AVISO pré-aviso -->
     <rule id="PRÉ_AVISO" name="pré-aviso">
       <pattern>

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to