Hello @jaumeortola
I am planning to create two rules, but they need a special suggest:
“Isto POR TER ESTADO a trabalhar”
→ POR ESTAR
“Isto POR TEREM FEITO o trabalho”
⇾ POR FAZEREM
etc.
In simple words, I need to suggest the #3 verb in the same person as the #2 person verb.
This is the first rule. The second one is different, but has this behaviour.
Can you tell me how to do it in the suggest?
Thanks!
Ruud_Baars
(Ruud Baars)
September 28, 2020, 10:18am
2
Examples for this are in the (moved) wiki.
You will have to use the match no= postag_regexp=yes postag = etc
marcoagpinto
(Marco A.G.Pinto)
September 28, 2020, 10:32am
3
I will become stressed if I have to read documentation to try to find something
Ruud_Baars
(Ruud Baars)
September 28, 2020, 10:58am
4
Hm. Can’t help you wih that. Nor edit a rule from my phone. There are lots of examples in the Dutch grammar file.
Yakov
(Yakov)
September 28, 2020, 11:47am
6
Best way for this usung unification:
Ruud_Baars
(Ruud Baars)
September 28, 2020, 12:27pm
7
Never understood how that works. Looks useful, but hints are to vague, probably because it is in a language I don’t know at all.
Yakov
(Yakov)
September 28, 2020, 12:47pm
8
The disadvantage of unification is that you can not create a suggestion for the general case and can not create rule with rule editor from community.languagetool.org
Ruud_Baars
(Ruud Baars)
September 28, 2020, 1:28pm
9
So what can it be used for apart from antipatterns?
Rules are there for detecting mistakes, not for correct text.
Or should I consider making unifucations for things that do not match, like plural noun and singular verb?
Can you think of a useful application in English?
marcoagpinto
(Marco A.G.Pinto)
September 28, 2020, 9:33pm
10
Thank you for all your help.
I have been able to code the rule using an easier way for me:
committed 09:31PM - 28 Sep 20 UTC