GrammarCorrector
GrammarCorrector is a Python package that uses a remote model hosted on Replicate to correct grammatical errors in text.
Installation
pip install grammarcorrector
Usage
export REPLICATE_API_TOKEN='your_replicate_api_token'
from grammarcorrector import GrammarCorrector
corrector = GrammarCorrector()
corrected_text = corrector.correct("This are bad grammar sentence.")
print(corrected_text) # Output: "This is a bad grammar sentence."
Metadata
Release files for grammarcorrector 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 | |
|---|---|---|---|
| grammarcorrector-0.1.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grammarcorrector-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / grammarcorrector-0.1.1.tar.gz
| Download URL | grammarcorrector-0.1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
480b857364c459fc84a8d34707d3106ebae7580ffad547b20d1166d404379bee
|
|
BLAKE2b-256 checksum How to use checksums |
fc75268a731150aeebea8c6ee9c65d5613854c70157c6485a3f9949e9cd45d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.10
|
Release files / grammarcorrector-0.1.1-py3-none-any.whl
| Download URL | grammarcorrector-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a98001c3dad1893467c3258612bc9cb278b61b72d4bede60e46fe3dc49a815a
|
|
BLAKE2b-256 checksum How to use checksums |
6861309e3bbf93de97c87e4d117d29730f19e6f1891c1bdad1ebec9fc4c9f226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.10
|