Hello!
I added the following rule but, while testing the grammar.xml, it gives
an error:
* <!-- ARREAR A/AS VELA/S BANDEIRA/S arriar a/as vela/s bandeira/s -->**
** <rule id="ARREAR_A_AS_VELA_S_BANDEIRA_S" name="arriar a/as vela/s
bandeira/s">**
** <pattern>**
** <marker>**
** <token>arrear</token>**
** </marker> **
** <token regexp="yes">a|as</token> **
** <token regexp="yes">vela|velas</token> **
** <token regexp="yes">bandeira|bandeiras</token> **
** </pattern>**
** <message>Substituir «arrear» por
<suggestion>arriar</suggestion>.</message>**
** <example type="incorrect">Vamos <marker>arrear</marker> a
vela.</example>**
** <example type="correct">Vamos <marker>arriar</marker> a
vela.</example>**
** </rule>*
I made it so that it would work both with singular and plural:
"Vamos arrear as velas" and the other possibilities would suggest to
replace "arrear" with "arriar".
:-P
Any tips?
Thanks!
Kind regards from your friend,
>Marco A.G.Pinto
-----------------------
--
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel