Back to LanguageTool Homepage - Privacy - Imprint

[pt] Rule: simplify sentences of with Verb+me/nos/lhe/etc

@rjlima

Hello!

Yesterday on IRC, I wrote the following sentence:

[18:18:58] <Master_of_Chaos> e se os tiro a anonima cai em cima de mim

It had a bad grammar, and I thought about creating a rule that would replace:

cai em cima de mim

with

cai-me em cima

The same could be done with the other forms “me, te, nos, etc.”

Do you have a good name for the ID, rule name and suggestion text?

I will work on the rule tomorrow, as I am now home the whole weeks because of my medical leave.

Thanks!

ID preferencia_pronome_atono
Name Pronome átono por oblíquo
Suggestion Você pode utilizar a forma átona do pronome e simplificar essa expressão

Thank you, Ricardo, at 5am I will code it.

:slight_smile:

1 Like

@rjlima

I was starting to work on the rule, but:

Se o faço a Ana cai em cima de mim. → Se o faço a Ana cai-me em cima.
Se o faço a Ana cai em cima de nós. → Se o faço a Ana cai-nos em cima.
Se o faço a Ana cai em cima de ti. → Se o faço a Ana cai-te em cima.
Se o faço a Ana cai em cima de vós. → Se o faço a Ana cai-vos em cima.

I was checking the POS of “mim” and “me” and they are identical, which means I would have to code each one by hand.

It will be on my TO-DO list.

I will focus on other important rules easier to do, like the one I am going to post here in a few moments.

1 Like