Skip to main content

Checks grammar using LanguageTool.

Project description

Python wrapper for LanguageTool.

This is a fork of

Example usage

>From the interpreter:

>>> import grammar_check
>>> tool = grammar_check.LanguageTool('en-GB')
>>> text = 'This are bad.'
>>> matches = tool.check(text)
>>> len(matches)

Automatically apply suggestions to the text:

>>> grammar_check.correct(text, matches)
'These are bad'

>From the command line:

$ echo 'This are bad.' > example.txt

$ grammar-check example.txt
example.txt:1:1: THIS_NNS[3]: Did you mean 'these'?


To install via pip:

$ pip install --user --upgrade grammar-check


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grammar-check, version 1.3.1
Filename, size & hash File type Python version Upload date
grammar_check-1.3.1-py2-none-any.whl (57.0 MB) View hashes Wheel py2

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page