Skip to content

Commit

Permalink
Merge pull request #10901 from languagetool-org/lt_marcoagpinto_20240…
Browse files Browse the repository at this point in the history
…928_1010

[pt] disambiguation.xml, improved rule ID:RARE_POS
  • Loading branch information
marcoagpinto authored Oct 10, 2024
2 parents a715288 + 1ba23d8 commit f2cbbf7
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
<rulegroup id="RARE_POS" name="rare POS tags">
<rule>
<pattern>
<token postag="Z0[FM]P0" postag_regexp="yes"/>
<token postag="Z0.[PN].+" postag_regexp="yes"/>
<marker>
<and>
<token postag="VMIP2S0|VMN02S0|VMSF2S0" postag_regexp="yes"/>
Expand All @@ -240,10 +240,13 @@
<rule>
<pattern>
<token postag="V.+" postag_regexp="yes"/>
<token min='1' max='2' postag="[DP].+" postag_regexp="yes"/>
<token postag="Z0[FM]P0" postag_regexp="yes"/>
<token min='1' max='2' postag="SPS00|(SPS00:)?[DP].+|RG|CS|VMG0000|VMN0000" postag_regexp="yes"/>
<token postag="Z0.[PN].+" postag_regexp="yes"/>
<marker>
<token regexp="yes">como|logo</token>
<and>
<token postag="VMIP1S0" postag_regexp="no"/>
<token postag="RG" postag_regexp="no"/>
</and>
</marker>
</pattern>
<disambig action="remove" postag="[NV].*"/>
Expand Down

0 comments on commit f2cbbf7

Please sign in to comment.