Skip to content

Commit

Permalink
Merge pull request #9033 from languagetool-org/lt_marcoagpinto_202307…
Browse files Browse the repository at this point in the history
…25_0103

[pt-PT] Added AP to rule ID:PASSAR_TEMPO_DECORRER_TEMPO
  • Loading branch information
marcoagpinto authored Jul 25, 2023
2 parents 4e0e3dc + 61b3a44 commit 14b2a86
Showing 1 changed file with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4579,21 +4579,8 @@ USA
</rule>


<!-- PASSARAM 10 MINUTOS decorreram 10 minutos -->
<rulegroup id='PASSAR_TEMPO_DECORRER_TEMPO' name="[pt-PT][Formal] 'passar' tempo → decorrer">
<!-- Created by Marco A.G.Pinto with Ricardo Joseh Lima suggestions, Portuguese rule 2023-03-11 (2-MAR-2023+) -->
<!--
Subrule1:
Dez minutos passaram desde o início do show. → Dez minutos decorreram desde o início do show.
Subrule2:
Passados os 30 dias tudo mudou. → Decorridos os 30 dias tudo mudou.
Passaram horas desde o início do show. → Decorreram horas desde o início do show.
-->
<!--
MARCOAGPINTO inserted global antipatterns for all subrules on top using the logic (2-MAR-2023+)
-->


<antipattern>
<token regexp='yes'>&expressoes_de_tempo_simples;
<exception scope='previous' postag_regexp='yes' postag='Z0.+'/>
Expand Down Expand Up @@ -4672,6 +4659,15 @@ USA
<example>Eu gosto de pescar; é uma maneira muito relaxante de passar o dia.</example>
</antipattern>

<antipattern>
<token inflected='yes'>passar</token>
<token postag='(SPS00:)?[DP][ADIPRT].+' postag_regexp='yes'/>
<token regexp='yes'>&expressoes_de_tempo_simples;</token>
<token postag='(SPS00:)?[DP][ADIPRT].+' postag_regexp='yes'/>
<token postag='V.+' postag_regexp='yes'/>
<example>Ela chega e passa o dia a gritar com o Rui.</example>
</antipattern>

<!-- Subrule1: -->
<rule>
<pattern>
Expand Down

0 comments on commit 14b2a86

Please sign in to comment.