Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt] Added exception to rule ID:ESTA_ESTÁ #9507

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31604,10 +31604,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
</marker>
<token postag='NC.+|AQ.+' postag_regexp='yes'>
<exception postag_regexp='yes' postag='AO.+'/>
<exception scope='next' postag_regexp='yes' postag='V.+'/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit of a corner case, but maybe make sure this verb token doesn't allow for participle matches, since those are often syntactically adjectival: e.g. esta situação complicada.

</token>
</pattern>
<message>Substitua por <suggestion>está</suggestion>.</message>
<example correction="está">A raiz da árvore <marker>esta</marker> podre.</example>
<example>Com o decorrer do tempo esta situação alterar-se-á.</example>
<example>Havia uns caras estranhos no banco esta manhã.</example>
<example>Eu vou ao supermercado esta tarde.</example>
<example>Antes da Relatividade esta interligação era um dado experimental.</example>
Expand Down