Open warmlogic opened 6 years ago
Can you find a solution to solve n-gram?
We could try to add it to the server command:
cmd = [java_path, '-cp', jar_path, 'org.languagetool.server.HTTPServer']
It should work with the other error detectors, but it will slow down the detection and wouldn't be the standard setting.
Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.
My version supports new versions of Java and LanguageTool. language-check
is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!
I'm happy to help you with your issue if you raise it over at my repository! Thanks!
The LanguageTool wiki describes how to use n-gram data to detect additional error types, and provides n-gram data for this purpose. Is it possible to support this in
language-check
?I don't see anything in
language-check
about--languagemodel
or--config file
options (I've mostly been looking in__init__.py
). I don't know enough about howlanguage-check
wraps the Java application to suggest a solution, nor whether supporting this would complicate other things (e.g., if using the n-gram directories, does this no longer check for other errors?), so apologies if I've posted an untenable request.