Skip to content

Commit

Permalink
Revert "[pt] Major fix in verbs/nouns detection in disambiguation.xml"
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoagpinto authored Nov 6, 2024
1 parent d1f5b63 commit c078d04
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
</rule>
<rule> <!-- Used ChatGPT 4o to verify the 31048 results -->
<pattern>
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+|[DP].+'/></token>
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+'/></token>
<token postag="(SPS00:)?D[AI].+|PP.+|Z0.+" postag_regexp="yes"><exception postag_regexp='yes' postag='PI.+'/></token>
<marker>
<and>
Expand All @@ -251,19 +251,6 @@
</pattern>
<disambig action="remove" postag="V.*"/>
</rule>
<rule> <!-- Used ChatGPT 4o to verify the 3217 results -->
<pattern>
<token postag="V.+" postag_regexp="yes"><exception postag_regexp='yes' postag='CS|RG|NC.+|AQ.+|CC|SPS.+|[DP].+'/></token>
<token regexp='yes' inflected='yes'>um|muito|pouco|vários|diversos|tal</token> <!-- Special PI.* that don't break rules -->
<marker>
<and>
<token postag="VMIP3S0|VMM02S0|VMSP2S0|VMIP2S0|VMN02S0|VMSF2S0|VMIP1S0|VMP00SM" postag_regexp="yes"/>
<token postag="NC.+" postag_regexp="yes"/>
</and>
</marker>
</pattern>
<disambig action="remove" postag="V.*"/>
</rule>
<rule>
<pattern>
<token postag="Z0.[PN].+" postag_regexp="yes"/>
Expand Down

0 comments on commit c078d04

Please sign in to comment.