Skip to content

Commit

Permalink
Merge pull request #11184 from languagetool-org/lt_marcoagpinto_20250…
Browse files Browse the repository at this point in the history
…111_1314

[pt] Added APs to rules ID:GENERAL_NUMBER_AGREEMENT_ERRORS and GENERAL_VERB_AGREEMENT_ERRORS
  • Loading branch information
marcoagpinto authored Jan 11, 2025
2 parents c32f97f + e800b2f commit 01fb4a7
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4383,6 +4383,13 @@ 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='V.+' postag_regexp='yes'/>
<token postag='RG' postag_regexp='no'/>
<token postag='VMP00S.+' postag_regexp='yes'/>
<example>Parece-me teres bem compreendido as regras da gramática desta útil língua, o Esperanto.</example>
</antipattern>

<antipattern>
<token postag='AQ..[PN].+|N..[PN].+|Z0.[PN].+' postag_regexp='yes'/>
<token regexp='yes'>coup[éê]|cup[éê]</token>
Expand Down Expand Up @@ -9123,6 +9130,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

<rulegroup id='GENERAL_VERB_AGREEMENT_ERRORS' name="Concordância Verbal: Geral">

<antipattern>
<token postag='(SPS00:)?[DP]...[PN].+' postag_regexp='yes'/>
<token postag='SPS00' postag_regexp='no'/>
<token>nós</token>
<token postag='VM.P3P.+' postag_regexp='yes'/>
<example>Muitos de nós substituem a gordura saturada, como leite integral com carboidratos refinados.</example>
<example>Estamos todos na sarjeta, mas alguns de nós contemplam as estrelas.</example>
<example>Muitos de nós podem estar recebendo mensagens diretamente no cérebro.</example>
</antipattern>

<antipattern>
<token postag='N.+|AQ.+' postag_regexp='yes'/>
<token postag='CC' postag_regexp='no'/>
Expand Down

0 comments on commit 01fb4a7

Please sign in to comment.