-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[pt] Add DOUBLE_INFINITIVE rulegroup #8682
Conversation
- 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.
- 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...
@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. |
(also I still can't add reviewers, labels, etc. 😭) |
Please try again now. |
Works a charm, thanks! |
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
Show resolved
Hide resolved
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
Show resolved
Hide resolved
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
Show resolved
Hide resolved
languagetool-language-modules/pt/src/main/resources/org/languagetool/rules/pt/grammar.xml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
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.