Skip to content

Commit

Permalink
[pt] Added AP to disambiguation.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoagpinto committed Jan 7, 2025
1 parent 859c0ae commit 711f8d7
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4075,6 +4075,17 @@ USA
<rulegroup id="PI_RELATED_VERBS_RARE" name="Remove PI.+ related followed by noun appearing as verb"> <!-- Used ChatGPT 4o to verify the results -->
<!-- Moved the rules down for them to work with all the conditions included. -->
<rule> <!-- Used ChatGPT 4o to verify the results -->
<antipattern>
<token postag='VMSP.+' postag_regexp='yes'/>
<token min='0' max='1' postag='RM'/>
<token postag='DI.+' postag_regexp='yes'/>
<token postag='VMN0000' postag_regexp='no'/>
<!--
Examples:
Tom e eu podemos ambos falar francês.
Isto é a América, podemos todos sonhar, certo?
-->
</antipattern>
<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'/>
Expand Down

0 comments on commit 711f8d7

Please sign in to comment.