language_tool_python icon indicating copy to clipboard operation
language_tool_python copied to clipboard

Is it possible to use n-gram data

Open srikarad07 opened this issue 2 years ago • 2 comments

Hi,

Thanks for this amazing wrapper.

I came across this documentation (https://dev.languagetool.org/finding-errors-using-n-gram-data) from LanguageTool and was curious if it is possible to use in the python wrapper?

srikarad07 avatar Feb 14 '23 13:02 srikarad07

I have not used this package – so far. But you should be able to set the path to the n-gram data in the config dictionary, see here.

torik42 avatar Mar 27 '23 17:03 torik42

Hi! Could you add the n-gram data?

enzoferrari1 avatar Oct 20 '23 14:10 enzoferrari1

This is indeed possible by adjusting the languageModel value in the config dictionary passed to LanguageTool. I am therefore closing the issue.

mdevolde avatar Nov 09 '25 23:11 mdevolde