language_tool_python icon indicating copy to clipboard operation
language_tool_python copied to clipboard

rules difference with online version

Open LifeIsStrange opened this issue 2 years ago • 1 comments

Hi @jxmorris12 Thank you for this wrapper :) I set up this library on my project and it works on the given example of the readme, but Using the online demo it works for the very simple sentence: John sleep well. where sleep is missing an s. But using the wrapper it systematically fail to detect a match for the missing s conjugaison errors.

I tried to look at some rules to add here? but I couldn't find any related to it

BTW is it normal that tool.enabled_rules is empty by default? where to see the rules default enabled? where to see the list of rules currently disabled?

LifeIsStrange avatar Jun 23 '23 22:06 LifeIsStrange

Hi! Did you find a solution to this problem? I'm experiencing the same issue, it fails to correct the sentence 'There sandwiches were ate' Edit: It seems we have to give the model also the n-grams, the parameter languageModel in the config apparently allows this but i couldn't make it work for some reason.

enzoferrari1 avatar Oct 19 '23 22:10 enzoferrari1