Revision: 9037
http://languagetool.svn.sourceforge.net/languagetool/?rev=9037&view=rev
Author: marcoagpinto
Date: 2013-01-15 22:59:16 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
[PT]
Added two new rules:
1) "decreto-lei"
2) "entre mim"
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
2013-01-15 21:47:50 UTC (rev 9036)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pt/grammar.xml
2013-01-15 22:59:16 UTC (rev 9037)
@@ -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.043 2013-01-13 14:16:00 marcoagpinto Exp $
+$Id: grammar.xml,v 1.044 2013-01-15 22:54: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">
@@ -543,6 +543,20 @@
+ <!-- DECRETO DE LEI decreto-lei -->
+ <rule id="DECRETO_DE_LEI" name="decreto-lei">
+ <pattern>
+ <token>decreto</token>
+ <token>de</token>
+ <token>lei</token>
+ </pattern>
+ <message>Substituir «decreto de lei» por
<suggestion>decreto-lei</suggestion>.</message>
+ <example type="incorrect">Saiu um novo <marker>decreto de
lei</marker>.</example>
+ <example type="correct">Saiu um novo
<marker>decreto-lei</marker>.</example>
+ </rule>
+
+
+
<!-- DUM de um -->
<rule id="DUM" name="de um">
<pattern>
@@ -632,6 +646,19 @@
+ <!-- ENTRE EU entre mim -->
+ <rule id="ENTRE_EU" name="entre mim">
+ <pattern>
+ <token>entre</token>
+ <token>eu</token>
+ </pattern>
+ <message>Substituir «entre eu» por <suggestion>entre
mim</suggestion>.</message>
+ <example type="incorrect">O que se passou <marker>entre eu</marker> e o
Rui?</example>
+ <example type="correct">O que se passou <marker>entre mim</marker> e o
Rui?</example>
+ </rule>
+
+
+
<!-- ESTA MELHOR está melhor -->
<rule id="ESTA_MELHOR" name="está melhor">
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits