An AI-powered web application for real-time grammar correction, spell checking, and text summarization. Built with Flask, TextBlob, LanguageTool, and Transformers, this tool helps users clean up and refine their writing with ease. Users can type or upload documents, get corrections instantly, and even download fixed versions.
Python
1
6 commits
updated Jul 10, 2025
GrammarCorrector is a Flask-based web application that provides real-time grammar and spell correction for text input or uploaded documents. Powered by NLP models, it highlights mistakes, corrects them, and can even summarize content.
language_tool_python)
GrammarCorrector/ β βββ app.py # Flask main entry βββ Model.py # Handles correction logic βββ corrector.py # Loads and runs transformer model βββ templates/ β βββ index.html # Bootstrap frontend βββ static/ # Optional: for CSS/JS (if expanded) βββ venv/ # Virtual environment (excluded from git) βββ .gitignore βββ README.md
git clone https://github.com/Odunsegun/GrammarCorrector.git
cd GrammarCorrector
### π§ͺ Step 2: Create virtual environment
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
### π₯ Step 3: Create virtual environment
pip install -r requirements.txt
### Run the app
python app.py
Visit http://127.0.0.1:5000 in your browser.
π Sample Input
Type or upload:
nginx
Copy
Edit
she no went to the market
Output:
Spelling: She did not go to the market
Grammar: She didn't go to the market
Mistakes: ['she no β she did not', 'went β go']
π§ Future Improvements
Add multi-language support
Optimize performance with caching
Export corrections to PDF/Word
Add AI feedback suggestions
π§βπ» Author
Israel Odunsegun
β οΈ Disclaimer
Large NLP models may result in slower performance on local machines. To avoid this:
Optimize by using lightweight models
Run on GPU or deploy to cloud platforms like HuggingFace Spaces, Streamlit, or Render
An AI-powered web application for real-time grammar correction, spell checking, and text summarization. Built with Flask, TextBlob, LanguageTool, and Transformers, this tool helps users clean up and refine their writing with ease. Users can type or upload documents, get corrections instantly, and even download fixed versions.
Python
1
6 commits
updated Jul 10, 2025
GrammarCorrector is a Flask-based web application that provides real-time grammar and spell correction for text input or uploaded documents. Powered by NLP models, it highlights mistakes, corrects them, and can even summarize content.
language_tool_python)
GrammarCorrector/ β βββ app.py # Flask main entry βββ Model.py # Handles correction logic βββ corrector.py # Loads and runs transformer model βββ templates/ β βββ index.html # Bootstrap frontend βββ static/ # Optional: for CSS/JS (if expanded) βββ venv/ # Virtual environment (excluded from git) βββ .gitignore βββ README.md
git clone https://github.com/Odunsegun/GrammarCorrector.git
cd GrammarCorrector
### π§ͺ Step 2: Create virtual environment
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
### π₯ Step 3: Create virtual environment
pip install -r requirements.txt
### Run the app
python app.py
Visit http://127.0.0.1:5000 in your browser.
π Sample Input
Type or upload:
nginx
Copy
Edit
she no went to the market
Output:
Spelling: She did not go to the market
Grammar: She didn't go to the market
Mistakes: ['she no β she did not', 'went β go']
π§ Future Improvements
Add multi-language support
Optimize performance with caching
Export corrections to PDF/Word
Add AI feedback suggestions
π§βπ» Author
Israel Odunsegun
β οΈ Disclaimer
Large NLP models may result in slower performance on local machines. To avoid this:
Optimize by using lightweight models
Run on GPU or deploy to cloud platforms like HuggingFace Spaces, Streamlit, or Render