languagetool icon indicating copy to clipboard operation
languagetool copied to clipboard

[pt] Idea for rule: “muito a ser feito” → “muito a fazer” - 2023-11-07

Open marcoagpinto opened this issue 1 year ago • 7 comments

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”?

marcoagpinto avatar Nov 07 '23 23:11 marcoagpinto

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 avatar Nov 07 '23 23:11 ricardojosehlima

@ricardojosehlima

My dear brother, so we will do it with “se”.

❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️

marcoagpinto avatar Nov 07 '23 23:11 marcoagpinto

Ahhhh…

Ricardo, I will use both "ser” and “se”, this way it will catch both variants.

marcoagpinto avatar Nov 07 '23 23:11 marcoagpinto

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"?

marcoagpinto avatar Nov 07 '23 23:11 marcoagpinto

Look for Há muito a ser dito Replace it with Há muito a se dizer

ricardojosehlima avatar Nov 08 '23 00:11 ricardojosehlima

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!

marcoagpinto avatar Nov 08 '23 00:11 marcoagpinto

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

5.txt

      <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!

❤️ ❤️ ❤️ ❤️ ❤️ ❤️

marcoagpinto avatar Nov 08 '23 06:11 marcoagpinto