Skip to content

Commit

Permalink
[pt] Added AP to rule ID:GENERAL_NUMBER_AGREEMENT_ERRORS
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoagpinto committed Jun 20, 2024
1 parent 630630c commit 4b84803
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4248,7 +4248,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
<!--
MARCOAGPINTO inserted global antipatterns for all subrules on top using the logic (2-MAR-2023+)
-->

<antipattern>
<token postag='VMI.3S.+' postag_regexp='yes'/>
<token>possível</token>
<token min='0' max='1' postag='CS|SPS00|(SPS00)?:[DP]...P.+' postag_regexp='yes'/>
<token postag="AQ..P.+|NC.P.+" postag_regexp="yes"/>
<token postag='RM|RG|CS|CC|SPS00|(SPS00)?:[DP]...[SN].+' postag_regexp='yes'/>
<example>É possível alunos da mesma universidade e turma terem notas diferentes?</example>
<example>É possível que alunos da mesma universidade e turma tenham notas diferentes?</example>
<example>É possível a alunos da mesma universidade e turma terem notas diferentes?</example>
</antipattern>
<antipattern>
<token postag="SPS00">
<exception regexp='yes' inflected='yes'>com|em</exception> <!-- The SPS00 that cause false positives -->
Expand Down

0 comments on commit 4b84803

Please sign in to comment.