language_tool_python icon indicating copy to clipboard operation
language_tool_python copied to clipboard

Picky mode

Open be4zad opened this issue 1 year ago • 2 comments

Is there a way to enable picky mode?

be4zad avatar May 22 '24 09:05 be4zad

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

jxmorris12 avatar May 27 '24 18:05 jxmorris12

Yes that parameter enables picky mode.

be4zad avatar May 28 '24 05:05 be4zad