Python wrapper for LanguageTool.
This is a fork of https://github.com/myint/language-check
Example usage
>From the interpreter:
>>> import grammar_check
>>> tool = grammar_check.LanguageTool('en-GB')
>>> text = 'This are bad.'
>>> matches = tool.check(text)
>>> len(matches)
1
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'?
Installation
To install via pip:
$ pip install --user --upgrade grammar-check
Prerequisites
Python 3.2+ (or 2.7)
lib3to2 (if installing for Python 2)
LanguageTool (Java 6.0+)
Metadata
Release files for grammar-check 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grammar_check-1.3.1-py2-none-any.whl | Python 2 | none | any | Details |
Release files / grammar_check-1.3.1-py2-none-any.whl
| Download URL | grammar_check-1.3.1-py2-none-any.whl |
|---|---|
| Size | 57.0 MB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3714e480b4754360b2a03906d3d8930155551565d8ecd8f6159967a6b9b02cee
|
|
BLAKE2b-256 checksum How to use checksums |
aa59bc6cc5894d695a393942f9c06803748a5fdaff28e9a7b470ebd123c06483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for grammar-check 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.