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

Picky mode #91

Open
be4zad opened this issue May 22, 2024 · 2 comments
Open

Picky mode #91

be4zad opened this issue May 22, 2024 · 2 comments
Labels
question Further information is requested

Comments

@be4zad
Copy link

be4zad commented May 22, 2024

Is there a way to enable picky mode?

@jxmorris12 jxmorris12 added the question Further information is requested label May 27, 2024
@jxmorris12
Copy link
Owner

So I googled and see this is a feature supported by LanguageTool: https://languagetool.org/insights/post/picky-mode/

And doing some more digging it's now a flag that can be provided to the /check endpoint of the API via 'level': https://languagetool.org/http-api/

I think we just need to set 'level' = 'picky' here: https://github.com/jxmorris12/language_tool_python/blob/master/language_tool_python/server.py#L145

@be4zad
Copy link
Author

be4zad commented May 28, 2024

Yes that parameter enables picky mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants