GrammarZoo is a wrapper around different automated grammar-checking programs.
It lets you conveniently compare their accuracy on grammatical/ungrammatical sentences.
Install it with pip or pipx:
$ pip install grammar-zoo
Usage:
# list available tools
$ grammar-zoo -l
# check a sentence
$ grammar-zoo -t languagetool 'This sentence ungrammatical.'
Tools
GrammarZoo currently supports the following tools:
- LanguageTool: an open-source grammar-checker also offered as a commercial product.
- Vale: "a syntax-aware linter for prose"
Further reading
- The Corpus of Linguistic Acceptability (CoLA) is a corpus of
sentences marked as grammatical or ungrammatical, drawn from published linguistics papers. It is
used to pick random sentences for the
--randomflag.
Metadata
Release files for grammar-zoo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grammar_zoo-0.1.1.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grammar_zoo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.6 kB
Release files / grammar_zoo-0.1.1.tar.gz
| Download URL | grammar_zoo-0.1.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5edcc5eff92f7c24f93ded00088c59921b313eeecf9491368abb92cb081c7c1
|
|
BLAKE2b-256 checksum How to use checksums |
1989a0985ece67e31b1adc5c515b5bea998484a83a81f934014a1a6f93527fc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.5 Darwin/22.6.0
|
Release files / grammar_zoo-0.1.1-py3-none-any.whl
| Download URL | grammar_zoo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3cfa6c2f81f3767c993474e7b38bfe38d1deeadb06a22d4a0c2c44b2f3f3862
|
|
BLAKE2b-256 checksum How to use checksums |
23c3dac089cdcdaa283002dbe6e07f70e59fb554cb40a67b65284b90f894c0e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.5 Darwin/22.6.0
|