Re: Help create rule (2) (more details)

2016-01-18 Thread Marco A.G.Pinto
Yakov, I have just downloaded the latest stand-alone tool but it still gives an error in *TESTRULES PT* probably because the files you updated last night aren't still in the .ZIP . So, I will wait until 10pm of today (Monday) to download the latest stand-alone. Thank you very much. Kind

Re[2]: Help create rule (2) (more details)

2016-01-17 Thread Yakov Reztsov
Now you can simply add this new rule to grammar.xml           a         Erro de concordância do plural: A vacas come no pasto.        >Воскресенье, 17 января 2016, 21:30 UTC от "Marco A.G.Pinto"

Re: Help create rule (2) (more details)

2016-01-17 Thread Marco A.G.Pinto
Hello! I was making some tests and it seems that in the suggestion it simply removes the last "s". This means it won't work with special nouns such as: flor -> flores cão -> cães Is there a way of replacing: *Erro de concordância do plural: regexp_match="(.*)(s)" regexp_replace="$1"/>* with

Re[2]: Help create rule (2) (more details)

2016-01-17 Thread Yakov Reztsov
Hello Marco! We can use this way: Erro de concordância do plural: But for this syntax we need make changes in java code of Portuguese module. I commit this changes to Github now. >Воскресенье, 17 января 2016, 20:21 UTC от "Marco A.G.Pinto" >Hello! > >I was making some tests and it

Re: Help create rule (2) (more details)

2016-01-17 Thread Marco A.G.Pinto
Thanks, Yakov, once again, Silly (but important) question: how do I make the changes? :-P Kind regards, >Marco A.G.Pinto --- On 17/01/2016 21:17, Yakov Reztsov wrote: Hello Marco! We can use this way: Erro de concordância do plural: no="2"

Re: Help create rule (2) (more details)

2016-01-17 Thread Yakov Reztsov
Hello, I tested this rule on community.languagetool.org, and it no display any error. But  TESTRULES PT displays error if is not specified. That is full example:           a         Erro de concordância do plural: A vacas come no

Re: Help create rule (2) (more details)

2016-01-17 Thread Marco A.G.Pinto
Yakov, It has worked! Thanks! What if I want to do the opposite now?: "As vaca comem no pasto" to "As vacas comem no pasto" What should I write in: Erro de concordância do plural: regexp_match="(.*)(s)" regexp_replace="$1"/> Thanks! If all goes well, tonight I will release these rules,

Help create rule (2) (more details)

2016-01-17 Thread Marco A.G.Pinto
Hello! I was messaging Yakov in private but decided to send it to the ML with more details. I was trying to create the following rule: "A vacas come no pasto" So that it would suggest: "A vaca come no pasto" "vacas" is a female plural noun and the error is to tell people to change the noun