language_tool_python
language_tool_python copied to clipboard
a free python grammar checker πβ
I have a match that look like this: `Match({'ruleId': 'MORFOLOGIK_RULE_ES', 'message': 'Se ha encontrado un posible error ortogrΓ‘fico.', 'replacements': ['telΓ©fonos', 'telΓ©fono', 'telefotos'], 'offsetInContext': 43, 'context': '...π πππππππ podemos compartir tus...
I am getting the following error when using the check function `matches = tool.check(text) ` ``` Traceback (most recent call last): File "/home/text_quality/main_functions.py", line 51, in async_process fragments = get_corrections(fragments=fragments,...
Hi! I wanted to add the n-gram data to make the tool able to detect more errors but i don't know how to do it. I read the documentation and...
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?
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...
When running this code `import language_tool_python import pandas as pd from tqdm.auto import tqdm tool = language_tool_python.LanguageTool('en-US') tool._url = 'http://localhost:9888/v2/' # Manually set the server URL def count_grammar_mistakes(text): matches =...
Background: - language_tool_python is installed - python version = 3.11 - looks like the local Pylance language server is running - tried running the example sentence, and nothing returned -...
win11, python3.9 get stuck at self._server.communicate()[1].strip() blocking the program to exit. with Tool as tool and tool.close() both don't work
Hello, I am not sure if I am using the functionality correctly. `import language_tool_python` `tool = language_tool_python.LanguageTool('en-US')` `matches = tool.check('This are bad.')` This gives two matches for the errors. one...
Kept getting a 503 response when initializing LanguageTool (coming from _query_server). It was weird because the same exact query would work using curl from the same location. Turns out it...