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] Added rule ID:SIMPLIFICAR_A_SER_PP_A_INF #9623

Merged
merged 2 commits into from
Nov 14, 2023
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 @@ -118,6 +118,8 @@ USA

<!ENTITY expressoes_invariaveis_pt_pt "algema|afazere|alvíssara|anai|antolho|apetrecho|arra|arredore|boda|brócol[io]|cã|calça|calenda|ceroula|cócega|condolência|confin|endoença|esponsai|esposório|exéquia|fasto|féria|feze|finança|hemorróida|mane|núpcia|óculo|olheira|pantalona|parabén|pêsame|petrecho|pi[ck]le|primícia|reticência|suspensório|treva|víscera|vívere">

<!ENTITY adverbios_de_intensidade "(?:assaz|bastante|bem|demais|demasiado|imenso|mais|menos|mesmo|muita|muito|nada|não|pouca|pouco|quanto|quão|quase|tanto|tão|todo|tudo|várias|vários|.+mente)">


<!ENTITY MSG_ECV "Possível erro de concordância verbal.">
]>
Expand Down Expand Up @@ -3329,6 +3331,25 @@ USA
</rule>


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


<rulegroup id='SIMPLIFICAR_A_XXX_DE_VOCÊS' name="[pt-PT][Simplificar] A XXX de vocês → a vossa XXX" tone_tags="objective">
<!-- IDEA shorten_it -->
<!-- Created by Marco A.G.Pinto, Portuguese rule 2022-08-10 (Checked/Enhanced) (25-JUL-2022+) -->
Expand Down