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] Add DOUBLE_INFINITIVE rulegroup #8682

Merged
merged 6 commits into from
May 25, 2023

Conversation

p-goulart
Copy link
Collaborator

@p-goulart p-goulart commented May 23, 2023

  • closes languagetooler-gmbh/languagetool-premium#5538;

  • really simple initial version taking care only of clearly ungrammatical epistemic modal double infinitives;

  • e.g. 'ele dever ter ido embora', 'poder ter chovido mais cedo'

  • methinks it's safe to assume these are typos.

 - addresses languagetooler-gmbh/languagetool-premium#5538;

 - really simple initial version taking care only of clearly
   ungrammatical epistemic modal double infinitives;

 - e.g. 'ele dever ter ido embora', 'poder ter chovido mais cedo';

 - methinks it's safe to assume these are typos.
@p-goulart p-goulart marked this pull request as draft May 23, 2023 15:04
p-goulart added 2 commits May 23, 2023 17:33
 - too many non-epistemic uses of modal 'poder', which complicates
   things a bit...

 - I kept the antipatterns made for 'poder', since they're technically
   also possible for 'dever', but 'poder' itself must be handled
   elsewhere...
@p-goulart p-goulart marked this pull request as ready for review May 23, 2023 15:57
@p-goulart
Copy link
Collaborator Author

@susanaboatto ⬆️ tests pass – this is a very narrowly defined rule just to address the original issue; handling all incorrect double infinitives is a much bigger task, it seems.

@p-goulart
Copy link
Collaborator Author

(also I still can't add reviewers, labels, etc. 😭)

@danielnaber
Copy link
Member

also I still can't add reviewers, labels

Please try again now.

@p-goulart
Copy link
Collaborator Author

also I still can't add reviewers, labels

Please try again now.

Works a charm, thanks!

Copy link
Collaborator

@susanaboatto susanaboatto left a comment

Choose a reason for hiding this comment

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

🙌

@susanaboatto susanaboatto merged commit d8d3515 into languagetool-org:master May 25, 2023
2 checks passed
@p-goulart p-goulart deleted the pt/grammar/p5538 branch May 25, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants