Hi,
You have a problem in the example correction. The rule should look like
this:
<rule id="AS_A-OS_O" name="Erro de concordância do plural">
<pattern>
<token postag='DA0FP0'></token>
<token postag='NCFS000'></token>
</pattern>
<message>Erro de concordância do plural.</message>
<example correction=''><marker>As vaca</marker> está no pasto.</example>
<example>A vaca está no pasto.</example>
</rule>
If there is no suggestion, the correction field has to be empty.
Regards,
Jaume Ortolà
2015-04-21 13:57 GMT+02:00 Marco A.G.Pinto <marcoagpi...@mail.telepac.pt>:
> Hello!
>
> I have tried to use an example posted in the forum by a Brazilian user:
> * <!-- Concordance error plural - BRAZILIAN USER-->*
> * <rule id="AS_A-OS_O" name="Erro de concordância do plural">*
> * <pattern>*
> * <token postag='DA0FP0'></token>*
> * <token postag='NCFS000'></token>*
> * </pattern>*
> * <message>Erro de concordância do plural.</message>*
> * <example correction="TESTE"><marker>As vaca</marker> está no
> pasto.</example>*
> * <example>A vaca está no pasto.</example>*
> * </rule> *
>
> For example: using plural/singular incorrectly.
>
> But, this gives errors when I use TESTRULES PT in the command line.
>
> How can I fix it?
>
> Thanks!
>
> Kind regards,
> >Marco A.G.Pinto
> ----------------------
>
>
> --
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel