Skip to content

Commit

Permalink
Merge pull request #10597 from languagetool-org/lt_marcoagpinto_20240…
Browse files Browse the repository at this point in the history
…516_0515

[pt] Added AP to rule ID:TODOS_FOLLOWED_BY_NOUN_PLURAL
  • Loading branch information
marcoagpinto authored May 16, 2024
2 parents 0ee04d3 + 4906164 commit 8eb11cb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14111,6 +14111,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

<!-- MARCOAGPINTO 2022-10-21 (Checked/Enhanced) (25-JUL-2022+) *START* -->
<!-- It seems that all these words I placed here appear as nouns in the disambiguator -->

<antipattern>
<token postag='NC.+|AQ.+' postag_regexp='yes'/>
<token regexp='yes'>tod[ao]s</token>
<token postag='NC.+|AQ.+' postag_regexp='yes'/>
<token postag='SPS00' postag_regexp='no'/>
<example>Fui à faculdade e fiquei com os dedos todos roxos de tanto caminhar.</example>
</antipattern>

<antipattern>
<token regexp='yes'>tod[ao]s</token>
<token regexp='yes'>ás?|aquel[ae]s|ansios[ao]s|demos|diferentes|el[ae]s|fáceis|iguais|junt[ao]s|lind[ao]s|menos|nós|pel[ao]s|pront[ao]s|próxim[ao]s|quant[ao]s|simples</token>
Expand Down

0 comments on commit 8eb11cb

Please sign in to comment.