Revision: 8222
http://languagetool.svn.sourceforge.net/languagetool/?rev=8222&view=rev
Author: marcoagpinto
Date: 2012-10-14 12:59:13 +0000 (Sun, 14 Oct 2012)
Log Message:
-----------
Moved from grammar.xml to compounds.txt:
1) abre-latas
2) acre-doce
3) afro-americano
4) afro-asi?\195?\161tico
5) afro-brasileiro
6) afro-cubano
7) agro-alimentar
8) agro-doce
9) agro-ind?\195?\186stria
10) agro-industrial
11) ?\195?\161gua-de-col?\195?\179nia
12) pequeno-almo?\195?\167o
Improved "a XXX de voc?\195?\170s" adding three more exception words.
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-10-14 12:55:25 UTC (rev 8221)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/pt/grammar.xml
2012-10-14 12:59:13 UTC (rev 8222)
@@ -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.034 2012-10-07 16:15:00 marcoagpinto Exp $
+$Id: grammar.xml,v 1.035 2012-10-14 13:56: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">
@@ -51,7 +51,7 @@
<rule id="A_XXX_DE_VOCÊS" name="a XXX de vocês -> a vossa XXX">
<pattern>
<token>a</token>
- <token><exception regexp="yes">maioria|minoria</exception></token>
+ <token><exception
regexp="yes">um|dois|três|maioria|minoria</exception></token>
<token>de</token>
<token>vocês</token>
</pattern>
@@ -212,150 +212,6 @@
- <!-- ABRE LATAS abre-latas -->
- <rule id="ABRE_LATAS" name="abre-latas">
- <pattern>
- <token>abre</token>
- <token>latas</token>
- </pattern>
- <message>Substituir «abre latas» por
<suggestion>abre-latas</suggestion>.</message>
- <example type="incorrect">Deve-se usar o <marker>abre
latas</marker>.</example>
- <example type="correct">Deve-se usar o
<marker>abre-latas</marker>.</example>
- </rule>
-
-
-
- <!-- ACRE DOCE acre-doce -->
- <rule id="ACRE_DOCE" name="acre-doce">
- <pattern>
- <token>acre</token>
- <token>doce</token>
- </pattern>
- <message>Substituir «acre doce» por
<suggestion>acre-doce</suggestion>.</message>
- <example type="incorrect">O <marker>acre doce</marker> das flores
silvestres.</example>
- <example type="correct">O <marker>acre-doce</marker> das flores
silvestres.</example>
- </rule>
-
-
-
- <!-- AFRO AMERICANO afro-americano -->
- <rule id="AFRO_AMERICANO" name="afro-americano">
- <pattern>
- <token>afro</token>
- <token>americano</token>
- </pattern>
- <message>Substituir «afro americano» por
<suggestion>afro-americano</suggestion>.</message>
- <example type="incorrect">O sujeito é <marker>afro
americano</marker>.</example>
- <example type="correct">O sujeito é
<marker>afro-americano</marker>.</example>
- </rule>
-
-
-
- <!-- AFRO ASIÁTICO afro-asiático -->
- <rule id="AFRO_ASIÁTICO" name="afro-asiático">
- <pattern>
- <token>afro</token>
- <token>asiático</token>
- </pattern>
- <message>Substituir «afro asiático» por
<suggestion>afro-asiático</suggestion>.</message>
- <example type="incorrect">O sujeito é <marker>afro
asiático</marker>.</example>
- <example type="correct">O sujeito é
<marker>afro-asiático</marker>.</example>
- </rule>
-
-
-
- <!-- AFRO BRASILEIRO afro-brasileiro -->
- <rule id="AFRO_BRASILEIRO" name="afro-brasileiro">
- <pattern>
- <token>afro</token>
- <token>brasileiro</token>
- </pattern>
- <message>Substituir «afro brasileiro» por
<suggestion>afro-brasileiro</suggestion>.</message>
- <example type="incorrect">O sujeito é <marker>afro
brasileiro</marker>.</example>
- <example type="correct">O sujeito é
<marker>afro-brasileiro</marker>.</example>
- </rule>
-
-
-
- <!-- AFRO CUBANO afro-cubano -->
- <rule id="AFRO_CUBANO" name="afro-cubano">
- <pattern>
- <token>afro</token>
- <token>cubano</token>
- </pattern>
- <message>Substituir «afro cubano» por
<suggestion>afro-cubano</suggestion>.</message>
- <example type="incorrect">O sujeito é <marker>afro
cubano</marker>.</example>
- <example type="correct">O sujeito é
<marker>afro-cubano</marker>.</example>
- </rule>
-
-
-
- <!-- AGRO ALIMENTAR agro-alimentar -->
- <rule id="AGRO_ALIMENTAR" name="agro-alimentar">
- <pattern>
- <token>agro</token>
- <token>alimentar</token>
- </pattern>
- <message>Substituir «agro alimentar» por
<suggestion>agro-alimentar</suggestion>.</message>
- <example type="incorrect">O sector <marker>agro alimentar</marker> é
importante.</example>
- <example type="correct">O sector <marker>agro-alimentar</marker> é
importante.</example>
- </rule>
-
-
-
- <!-- AGRO DOCE agro-doce -->
- <rule id="AGRO_DOCE" name="agro-doce">
- <pattern>
- <token>agro</token>
- <token>doce</token>
- </pattern>
- <message>Substituir «agro doce» por
<suggestion>agro-doce</suggestion>.</message>
- <example type="incorrect">Esta fruta é <marker>agro
doce</marker>.</example>
- <example type="correct">Esta fruta é
<marker>agro-doce</marker>.</example>
- </rule>
-
-
-
- <!-- AGRO INDÚSTRIA agro-indústria -->
- <rule id="AGRO_INDÚSTRIA" name="agro-indústria">
- <pattern>
- <token>agro</token>
- <token>indústria</token>
- </pattern>
- <message>Substituir «agro indústria» por
<suggestion>agro-indústria</suggestion>.</message>
- <example type="incorrect">A <marker>agro indústria</marker> é um sector
importante.</example>
- <example type="correct">A <marker>agro-indústria</marker> é um sector
importante.</example>
- </rule>
-
-
-
- <!-- AGRO INDUSTRIAL agro-industrial -->
- <rule id="AGRO_INDUSTRIAL" name="agro-industrial">
- <pattern>
- <token>agro</token>
- <token>industrial</token>
- </pattern>
- <message>Substituir «agro industrial» por
<suggestion>agro-industrial</suggestion>.</message>
- <example type="incorrect">O Pedro é um engenheiro <marker>agro
industrial</marker>.</example>
- <example type="correct">O Pedro é um engenheiro
<marker>agro-industrial</marker>.</example>
- </rule>
-
-
-
- <!-- ÁGUA DE COLÓNIA água-de-colónia -->
- <rule id="ÁGUA_DE_COLÓNIA" name="água-de-colónia">
- <pattern>
- <token>água</token>
- <token>de</token>
- <token>colónia</token>
- </pattern>
- <message>Substituir «água de colónia» por
<suggestion>água-de-colónia</suggestion>.</message>
- <example type="incorrect">A tua <marker>água de colónia</marker> tem um
aroma agradável.</example>
- <example type="correct">A tua <marker>água-de-colónia</marker> tem um
aroma agradável.</example>
- </rule>
-
-
-
<!-- ALÉM FRONTEIRAS além-fronteiras -->
<rule id="ALÉM_FRONTEIRAS" name="além-fronteiras">
<pattern>
@@ -1278,19 +1134,6 @@
- <!-- PEQUENO ALMOÇO pequeno-almoço -->
- <rule id="PEQUENO_ALMOÇO" name="pequeno-almoço">
- <pattern>
- <token>pequeno</token>
- <token>almoço</token>
- </pattern>
- <message>Substituir «pequeno almoço» por
<suggestion>pequeno-almoço</suggestion>.</message>
- <example type="incorrect">Vamos tomar o <marker>pequeno
almoço</marker>.</example>
- <example type="correct">Vamos tomar o
<marker>pequeno-almoço</marker>.</example>
- </rule>
-
-
-
<!-- PODERIAM-SE poder-se-iam -->
<rule id="PODERIAM-SE" name="poder-se-iam">
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits