Skip to content

Commit

Permalink
Merge pull request #10872 from languagetool-org/lt_marcoagpinto_20240…
Browse files Browse the repository at this point in the history
…912_0758

[pt] Added/improved APs in rule ID:GENERAL_NUMBER_AGREEMENT_ERRORS
  • Loading branch information
marcoagpinto authored Sep 23, 2024
2 parents 047bbfa + e0e4116 commit 993a742
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4248,20 +4248,27 @@ 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>para</token>
<token regexp='yes'>tal|tanto</token>
<token postag='(SPS00:)?[DP]...[PN].+|VM...P.+' postag_regexp='yes'/>
<token postag="AQ..[PN].+|N..[PN].+|Z0.[PN].+|(SPS00:)?[DP]...[PN].+|VM...P.+" postag_regexp="yes"/>
<example>Quero para tal esses dois telemóveis.</example>
</antipattern>
<antipattern>
<token>a</token>
<token>nós</token>
<token postag="AQ..S.+|N..S.+" postag_regexp="yes"/>
<token postag='RM|RG|CS|CC|SPS00|(SPS00)?:[DP]...[SN].+|VM...S.+' postag_regexp='yes'/>
<token postag='RM|RG|CS|CC|SPS00|(SPS00:)?[DP]...[SN].+|VM...S.+' postag_regexp='yes'/>
<example>Assim que partimos, juntou-se a nós Jesus com pequeno grupo de seguidores.</example>
<example>A nós Jesus disse estar cansado de pregar.</example>
</antipattern>
<antipattern>
<token postag='VMI.3S.+' postag_regexp='yes'/>
<token postag='VM..3S.+' postag_regexp='yes'/>
<token>possível</token>
<token min='0' max='1' postag='CS|SPS00|(SPS00)?:[DP]...P.+' postag_regexp='yes'/>
<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'/>
<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>
Expand Down

0 comments on commit 993a742

Please sign in to comment.