Spaces:
Running
Running
File size: 1,681 Bytes
4e12f66 03c77e0 4ab2960 03c77e0 4ab2960 03c77e0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
---
title: Grammar Correction
emoji: 🦀
colorFrom: green
colorTo: blue
sdk: streamlit
sdk_version: 1.41.1
app_file: app.py
pinned: false
license: mit
short_description: Grammar Correction for NLP course
---
---
**NLP Project**
This repository contains a Grammar Correction tool developed as part of the NLP project by **Software Group 2**. The tool leverages NLP techniques to detect and correct grammatical mistakes in user-provided text. It is designed to be user-friendly and provides two options for running the application: a Streamlit-based interactive app or a traditional web-based app.
---
## **Team Members**
- **AMANUEL YIHUNE HIBSTE** - UGR/8408/13
- **ARYAM WUBSHET BERHANU** - UGR/6357/13
- **BASLIEL AMSALU GELETU** - UGR/8569/13
- **BEREKET LEGESSE TADESSE** - UGR/7987/13
- **BETSELOT KIDANE BONSA** - UGR/8473/13
---
## **How to Run Locally**
### **Step 1: Clone the Repository**
```bash
git clone
cd repo
```
### **Step 2: Create a Virtual Environment**
Create a virtual environment to manage dependencies:
```bash
python -m venv env
.\env\Scripts\activate
```
### **Step 3: Install Requirements**
Install all necessary dependencies:
```bash
pip install -r requirements.txt
```
### **Step 4: Train the Model**
Run the training script to prepare the model:
```bash
python model.py
```
### **Step 5: Run the App**
#### **Option 1: Run as a Traditional Web App**
To run the app locally and access it via an HTML page:
```bash
python app_flask.py
```
#### **Option 2: Run as a Streamlit App**
For an interactive Streamlit-based application:
```bash
streamlit run app.py
```
---
## **Features**
- Grammar error detection and correction
|