languagetool
languagetool copied to clipboard
[pt] Idea for rule: “muito a ser feito” → “muito a fazer” - 2023-11-07
Heya, @ricardojosehlima
Here is an idea for a rule:
“Há MUITO A SER FEITO”
→ “Há MUITO A FAZER”
Basically, it turns a past participle into an infinitive, so “FEITO” could use any verb.
Is it a good idea?
Thanks!
EDIT: Maybe also use related words to “muito” like “bastante”?
Seems good! But look Há muito a ser dito... Há muito a se dizer...
With se it sounds better for me. With fazer maybe without the se is ok, but some verbs may require the se, at least in pt-br.
@ricardojosehlima
My dear brother, so we will do it with “se”.
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️
Ahhhh…
Ricardo, I will use both "ser” and “se”, this way it will catch both variants.
Now I got confused... lol... Should I look for.
Há muito a ser dito... Há muito a se dizer...
and suggest:
"há muito a dizer"
?
Look for Há muito a ser dito Replace it with Há muito a se dizer
Look for Há muito a ser dito Replace it with Há muito a se dizer
Ohhhhhhhhhhhh... 😢 😢 😢 😢 😢 😢 😢 😢 😢 😢
It will have the same number of characters.
The best is to make a pt-PT rule for it.
Thank you, Ricardo!
Ahhhh...
It is done, but only for pt-PT:
Portuguese (Portugal): 7 total matches
Portuguese (Portugal): 811110 total sentences considered
Portuguese (Portugal): ø0.00 rule matches per sentence
<rule id='SIMPLIFICAR_A_SER_PP_A_INF' name="[pt-PT] Simplificar: há + Adv. intensidade + 'a ser Part.P.' → 'a Inf.'" type="style" default="temp_off">
<!-- IDEA shorten_it -->
<pattern>
<token inflected='yes'>haver</token>
<token min='0' max='1' postag='RN|RG' postag_regexp='yes'/>
<token regexp='yes' inflected='yes'>&adverbios_de_intensidade;</token>
<marker>
<token>a</token>
<token>ser</token>
<token postag='VMP00S.+' postag_regexp='yes'/>
</marker>
</pattern>
<message>&simplify_msg;</message>
<suggestion>a <match no='6' postag='VMP00S.+' postag_regexp="yes" postag_replace='VMN0000'/></suggestion>
<example correction="a escrever">Há bastante <marker>a ser escrito</marker> no livro.</example>
<example correction="a fazer">Há ainda muito <marker>a ser feito</marker> na pesquisa.</example>
</rule>
Thanks!
❤️ ❤️ ❤️ ❤️ ❤️ ❤️