Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iafisher/grammar-zoo
https://github.com/iafisher/grammar-zoo
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/iafisher/grammar-zoo
- Owner: iafisher
- License: mit
- Created: 2024-06-07T21:20:09.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-07T21:52:00.000Z (5 months ago)
- Last Synced: 2024-06-07T22:43:48.582Z (5 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://pipx.pypa.io/stable/):
```shell
$ pip install grammar-zoo
```Usage:
```shell
# list available tools
$ grammar-zoo -l# check a sentence
$ grammar-zoo -t languagetool 'This sentence ungrammatical.'
```## Tools
GrammarZoo currently supports the following tools:- [LanguageTool](https://github.com/languagetool-org/languagetool): an open-source grammar-checker
also offered as a commercial product.
- [Vale](https://vale.sh/): "a syntax-aware linter for prose"## Further reading
- The [Corpus of Linguistic Acceptability](https://nyu-mll.github.io/CoLA/) (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 `--random` flag.