Re: [Languagetool] Fwd: Creating a Java rule?

2012-10-03 Thread Henrik Bendt
2012/10/3 Marco A.G.Pinto marcoagpi...@mail.telepac.pt Hello Dominique, The code gives errors while testing it with TESTRULES PT. Hello Marco I believe the error is in the example, which is missing a marker/-tag: rule id=A_XXX_DE_VOCES name=a XXX de vocês - a vossa XXX pattern

Re: [Languagetool] Fwd: Creating a Java rule?

2012-10-02 Thread Dominique Pellé
Hi Marco To match any token is simple: just use token/. I don't speak Portuguese, but if I understood correctly from your example, then the following rule should do what you want: rule id=A_XXX_DE_VOCES name=a XXX de vocês - a vossa XXX pattern tokena/token token/ tokende/token

Re: [Languagetool] Fwd: Creating a Java rule?

2012-10-02 Thread Marco A.G.Pinto
Thanks, I will try it tomorrow :) On 02-10-2012 23:27, Dominique Pellé wrote: Hi Marco To match any token is simple: just use token/.  I don't speak Portuguese, but if I understood correctly from your example, then the following rule