File size: 506 Bytes
885e17b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# GrammarCorrector

GrammarCorrector is a Python package that uses a remote model hosted on Replicate to correct grammatical errors in text.

## Installation

```bash
pip install grammarcorrector
```

## Usage

```bash
export REPLICATE_API_TOKEN='your_replicate_api_token'
```

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