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] More verbs/nouns fixes in disambiguation.xml #11073

Merged
merged 1 commit into from
Nov 30, 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 @@ -3901,9 +3901,6 @@ USA
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+|[DP].+'/></token>
<token min='0' max='1' postag='RM'/>
<token postag="(SPS00:)?D[AI].+|Z0.+" postag_regexp="yes"><exception postag_regexp='yes' postag='P[IP].+'/></token> <!-- Removed PP.+: "morrer nos custa muito" -->
<!--
<token min='0' max='1' postag="NC.+|AQ.+" postag_regexp="yes"><exception postag_regexp='yes' postag='V.+|CS|RG|CC|SPS.+|[DP].+'/></token>
-->
<marker>
<and>
<token postag="VMSP3S0|VMIP3S0|VMM02S0|VMSP2S0|VMIP2S0|VMN02S0|VMSF2S0|VMIP1S0|VMP00SM" postag_regexp="yes"/>
Expand Down Expand Up @@ -3933,6 +3930,31 @@ USA
É um dia perfeito.
-->
</rule>
<rule> <!-- Used ChatGPT 4o to verify the results -->
<pattern>
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+|[DP].+'/></token>
<token min='0' max='1' postag='RM'/>
<token postag="(SPS00:)?D[AI].+|Z0.+" postag_regexp="yes"><exception postag_regexp='yes' postag='P[IP].+'/></token> <!-- Removed PP.+: "morrer nos custa muito" -->
<token postag="NC.+|AQ.+" postag_regexp="yes"><exception postag_regexp='yes' postag='V.+|CS|RG|CC|SPS.+|[DP].+'/></token>
<marker>
<and>
<token postag="VMSP3S0|VMSP2S0|VMIP2S0|VMN02S0|VMSF2S0|VMIP1S0|VMP00SM" postag_regexp="yes"/> <!-- Removed "VMIP3S0|VMM02S0" due to false positives -->
<token postag="NC.+" postag_regexp="yes"/>
</and>
</marker>
<token><exception scope="previous" regexp="no">tá</exception></token>
</pattern>
<disambig action="remove" postag="V.*"/>
<!--
Examples:
Estimula um comportamento positivo em relação ao estudo, à vida.
Destaca-se pelo eficiente desempenho hidráulico, o que proporciona menor perda de carga.
Yeshua Hamashia possui a mesma grafia em hebraico, que é o idioma sagrado dos judeus.
Aprofundar a discussão sobre a dívida pública brasileira é um imperativo para os brasileiros e trabalhadores em geral.
É errado dividir o ser humano em corpo, alma e espírito.
A praticidade e a durabilidade representa um investimento seguro e de longa vida.
-->
</rule>
<rule>
<pattern>
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+|[DP].+'/></token>
Expand Down