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] Added exceptions to rule ID:QUE_É-SÃO_NC-ADJ_COMO-POR #11224

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
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 @@ -7854,11 +7854,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
<rulegroup id='LINKING_VERB_PREDICATE_AGREEMENT' name='Concordância Verbal: Complementos com o verbo copulativo' default='on'>
<!-- TODO Low Prority - Check regression and add enumeration tests and exceptions -->
<!-- Created by Tiago F. Santos, 2017-01-17 -->
<!--
MARCOAGPINTO started adding antipatterns at the top to affect all subrules - 2022-09-24
-->

<url>https://pt.wikipedia.org/wiki/Verbo_de_liga%C3%A7%C3%A3o</url>

<antipattern> <!-- DeepSeek-V3 -->
<token>que</token>
<token regexp='yes' inflected='yes'>andar|continuar|estar|ficar|parecer|permanecer|ser|tornar-se|virar|viver</token> <!-- "linking verbs". Later replace with the entity after checking if these verbs are all there -->
<token regexp='yes'>fen[ôó]meno|sensação|moda|hit|referência|mania|sucesso</token>
<example>Tudo isso sempre alinhado com as tendências que são sucesso nas passarelas do mundo.</example>
</antipattern>

<antipattern>
<token postag='V.+' postag_regexp='yes'/>
<token postag='RG' postag_regexp='no'/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14892,7 +14892,7 @@ USA
<token>que
<exception postag='SENT_START|D[DI].+|PI.+' postag_regexp='yes'/></token>
<token regexp='yes'>é|são</token>
<token postag='NC.+|AQ.+|V.+' postag_regexp='yes'/>
<token postag='NC.+|AQ.+|V.+' postag_regexp='yes'><exception regexp='yes'>fen[ôó]meno|sensação|moda|hit|referência|mania|sucesso</exception></token> <!-- Exceptions by DeepSeek-V3 -->
<token regexp='yes'>com|como|em|n[ao]s?|para|pel[ao]s?|por</token>
</marker>
<token negate_pos="yes" postag='VMN0000'/>
Expand Down