a free python grammar checker 📝✅
Version 2.7.0 includes two major improvements:
0.0.0.0
. This allows many LanguageTool clients to connect to a single LanguageTool server. Inspired by feature requests, including #40 - thanks!See the README for information on configuring a client-server setup or passing configuration options to LanguageTool.
language_tool_python
version 2.6.4 includes the following improvements:
with .. as tool
and tool.close()
to manage processes'auto'
tag in LanguageTool (thanks @minoguep)Also, we dropped support for Python 3.5, hopefully this doesn't affect anyone too drastically. This was necessary to add typing hints to our code, which hopefully is worth it!
LanguageToolPython 2.6.1 upgrades our LanguageTool version to 5.4, which gives us the main benefit of all of the additional error detection rules added to LanguageTool 5.4 across the many languages LanguageTool supports.
Behind the scenes, I cleaned up the code a bit, and changed our web requests to use the Python requests library across the board. There had still been some legacy code that made calls to the raw urlopen() python binding, which caused various issues (such as #42) and was generally persnickety. Hope this works better!
Our most recent release updates to the LanguageTool 5.2 release and makes some important bug fixes behind the scenes. Thanks @RafaelWO, @aokellermann, and @misrasaurabh1 for contributing!
The main change in v2.4.0 is to support LanguageTool's 5.0 update, which supports more languages and errors.
Also made some miscellaneous changes:
Dockerfile
)Match
types with utils.correct()
functionality (and add to README)tool.correct(text_with_errors)
(no need to provide List[Match]
anymore)LTP_PATH
environment option to customize LanguageTool server locationLTP_DOWNLOAD_HOST
tqdm
(our first dependency!) for a nice progress bar