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

Merged
merged 1 commit into from
Nov 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 @@ -3814,14 +3814,14 @@ USA
</rulegroup>

<rule id="PELA_COMO_SOBRE_VERBS_RARE" name="Remove pela/como/sobre from appearing as verbs"> <!-- Used ChatGPT 4o to verify the results -->
<!-- Moved the rule down for it to work with RM: "As espécies viáveis foram sendo incorporadas gradativamente pela natureza." -->
<!-- Moved the rule down to assure it works correctly with RM. -->
<!-- ChatGPT stated that a past participle followed by "pela", "como", "sobre" doesn't depend on the next token to be removed as a verb. -->
<pattern>
<token postag='VMP00.+' postag_regexp="yes"/>
<token min='0' max='1' postag='RM'/>
<marker>
<token regexp="yes">pel[ao]s?|como|sobre</token>
</marker>
<token postag='NC.+|AQ.+|DP.+' postag_regexp='yes'/>
</pattern>
<disambig action="remove" postag="V.*"/>
<!--
Expand All @@ -3834,6 +3834,7 @@ USA
A segunda, que era conhecida como sua esposa no Olimpo, era a ciumenta Hera.
Ele escreveu que ficou surpreso sobre como os resultados ficaram bons.
Se ofendem por conta de suspeitas sobre artistas.
Desde 1967, Ele tem derramado sobre a Igreja a graça do batismo no Espírito Santo.
-->
</rule>

Expand Down