Skip to content

Commit

Permalink
[pt] Review GENERAL_VERB_AGREEMENT_ERRORS:12
Browse files Browse the repository at this point in the history
 - solve *part of* #8945;

 - remove needless comments, update examples, add some basic errors to
   check sanity;

 - update disambiguator.
  • Loading branch information
p-goulart committed Sep 6, 2023
1 parent 615352a commit 270b8f4
Show file tree
Hide file tree
Showing 2 changed files with 1,806 additions and 2,137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3889,4 +3889,22 @@
<disambig action="replace"><wd pos="RM"/></disambig>
<!-- <example inputform="francamente[Francamente/I]" outputform="francamente[Francamente/I,francamente/RM]" type="ambiguous">Falou <marker>francamente</marker> em soluções.</example>-->
</rule>

<rule id="PRECISA_NOT_ADJ" name="Remove adj tag from 'precisa' in obvious cases">
<pattern>
<token postag_regexp="yes" postag="N.+|PP.+"/>
<marker>
<token regexp="yes" postag_regexp="yes" postag="AQ0[FM].0">precisas?|preciso</token>
</marker>
<token postag_regexp="yes" postag="SPS00(:.+)?" regexp="yes">d.+</token>
</pattern>
<disambig action="remove" postag="A.+"/>
<!-- error introduced on purpose to check agreement rules -->
<example
inputform="precisa[precisar/VMIP3S0,precisar/VMM02S0,preciso/AQ0FS0]"
outputform="precisa[precisar/VMIP3S0,precisar/VMM02S0]"
type="ambiguous">
Os meninos <marker>precisa</marker> das mães.
</example>
</rule>
</rules>
Loading

0 comments on commit 270b8f4

Please sign in to comment.