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] Improved verbs/nouns in disambiguation.xml #11015

Merged
merged 2 commits into from
Nov 13, 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 @@ -3821,14 +3821,17 @@ USA
<marker>
<token regexp="yes">pel[ao]s?|como</token>
</marker>
<token postag='NC.+|AQ.+' postag_regexp='yes'/>
<token postag='NC.+|AQ.+|DP.+' postag_regexp='yes'/>
</pattern>
<disambig action="remove" postag="V.*"/>
<!--
Examples:
Elas eram conhecidas pelas cadelas.
Elas eram conhecidas como cadelas.
As espécies viáveis foram sendo incorporadas gradativamente pela natureza.
A cidade também é muito conhecida pelos seus doces de espécie.
Obrigado pela sua compreensão e bom trabalho!
A segunda, que era conhecida como sua esposa no Olimpo, era a ciumenta Hera.
-->
</rule>

Expand Down Expand Up @@ -3861,7 +3864,7 @@ USA
<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 postag="(SPS00:)?(D[AI].+|PP.+)|Z0.+" postag_regexp="yes"><exception postag_regexp='yes' postag='PI.+'/></token>
<token postag="(SPS00:)?D[AI].+|Z0.+" postag_regexp="yes"><exception postag_regexp='yes' postag='PI.+'/></token> <!-- Removed PP.+: "morrer nos custa muito" -->
<marker>
<and>
<token postag="VMIP3S0|VMM02S0|VMSP2S0|VMIP2S0|VMN02S0|VMSF2S0|VMIP1S0|VMP00SM" postag_regexp="yes"/>
Expand Down