Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt-PT] Better suggestion and moved to formal category ID:FAZER_DESPORTO #10948

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -302,19 +302,6 @@ USA
</rulegroup>


<rule id='FAZER_DESPORTO' name="[pt-PT] 'Fazer' desporto → Praticar" tone_tags="formal">
<pattern>
<marker>
<token skip='4' inflected='yes'>fazer</token>
</marker>
<token>desporto</token>
</pattern>
<message>&informal_msg;</message>
<suggestion><match no='1' postag='V.+' postag_regexp='yes'>praticar</match></suggestion>
<example correction="praticar">Vou <marker>fazer</marker> muito desporto.</example>
</rule>


<!-- VELHA ESCOLA velha guarda -->
<!-- Created by Marco A.G.Pinto, Portuguese rule 2020-10-27 (21-OCT-2020+) -->
<rule id='VELHA_ESCOLA_VELHA_GUARDA' name="[pt-PT] Velha escola → Velha guarda" tone_tags="formal">
Expand Down Expand Up @@ -3314,6 +3301,21 @@ USA
</rule>


<rule id='FAZER_DESPORTO' name="[pt-PT][Formal] 'Fazer' desporto → Praticar" tone_tags="formal">
<!-- Used ChatGPT 4o for enhancements and extra accuracy -->
<pattern>
<marker>
<token skip='4' inflected='yes'>fazer</token>
</marker>
<token regexp='yes'>desportos?</token>
</pattern>
<message>O termo &quot;praticar desporto&quot; é mais formal e transmite uma ideia de frequência e seriedade, enquanto &quot;fazer desporto&quot; é mais casual e generalista.</message>
<suggestion><match no='1' postag='V.+' postag_regexp='yes'>praticar</match></suggestion>
<example correction="praticar">Vou <marker>fazer</marker> muito desporto.</example>
<example correction="praticar">Vou <marker>fazer</marker> desportos de combate.</example>
</rule>


<rule id='TIVER_ESTIVER' name='[pt-PT][Formal] tiver/estiver' tone_tags="formal">
<antipattern>
<token postag='NC.+|AQ.+|CS|RG' postag_regexp='yes'/>
Expand Down