Skip to content

Commit

Permalink
[pt-PT] Improved rule ID:PRAZER_EM_CONVIDAR
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoagpinto committed Dec 28, 2023
1 parent b318386 commit 18bc7e8
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,23 @@ USA
<suggestion><match no='3' postag='NC.(.)000' postag_replace='NCF$1000'>embalagem</match></suggestion>
<example correction="embalagem">Vou tomar uma <marker>caixa</marker> de Xanax.</example>
</rule>
<rule id='PRAZER_EM_CONVIDAR' name="[pt-PT] Gosto em convidar" tone_tags="formal">
<!-- Created by Marco A.G.Pinto, Portuguese rule -->


<rule id='PRAZER_EM_CONVIDAR' name="[pt-PT] 'prazer' em convidar → 'gosto'" tone_tags="formal" default="temp_off">
<pattern>
<marker>
<token>prazer</token>
<token>em</token>
<token regexp='yes' inflected="yes">convidar|convidá</token>
</marker>
<token min='0' regexp='yes' spacebefore='no'>&hifen;</token>
<token regexp="yes" min='0'>los?|vos|te</token>
<token skip='4' regexp='yes'>em|que</token>
<token inflected='yes'>convidar</token>
</pattern>
<message>Substitua por <suggestion>gosto \2 \3</suggestion>.</message>
<example correction="gosto em convidá">Terei o maior <marker>prazer em convidá</marker>-los para a festa.</example>
<message>&informal_msg;</message>
<suggestion>gosto</suggestion>
<example correction="gosto">Terei o maior <marker>prazer</marker> em convidá-los para a festa.</example>
<example correction="gosto">É com enorme <marker>prazer</marker> que os convido para a festa.</example>
</rule>


<rule id='PÔR_FIM_À_VIDA' name="[pt-PT] pôr termo à vida" tone_tags="formal">
<!-- Created by Marco A.G.Pinto, Portuguese rule -->
<pattern>
Expand Down

0 comments on commit 18bc7e8

Please sign in to comment.