Skip to main content

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."

Download files

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

Source Distribution

grammarcorrector-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grammarcorrector-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file grammarcorrector-0.1.1.tar.gz.

File metadata

  • Download URL: grammarcorrector-0.1.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for grammarcorrector-0.1.1.tar.gz
Algorithm Hash digest
SHA256 480b857364c459fc84a8d34707d3106ebae7580ffad547b20d1166d404379bee
MD5 d43ad3553864ba84e325ccb9957c040a
BLAKE2b-256 fc75268a731150aeebea8c6ee9c65d5613854c70157c6485a3f9949e9cd45d24

See more details on using hashes here.

File details

Details for the file grammarcorrector-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for grammarcorrector-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a98001c3dad1893467c3258612bc9cb278b61b72d4bede60e46fe3dc49a815a
MD5 69fd3e8b9db0e4e3f2617a6999b718c8
BLAKE2b-256 6861309e3bbf93de97c87e4d117d29730f19e6f1891c1bdad1ebec9fc4c9f226

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page