Skip to content

Ommooley10/GrammaScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrammaScan

GrammaScan is a fast, intelligent, and user-friendly grammar-checking web application. It combines the linguistic power of spaCy and LanguageTool, with a modern full-stack architecture powered by FastAPI and Next.js. In addition to grammar correction, GrammaScan features a built-in AI assistant powered by Gemini, offering users helpful suggestions, explanations, and language refinement tips in real time.


✨ Key Features

  • Accurate grammar and spelling corrections using NLP
  • AI Assistant powered by Gemini for contextual help and guidance
  • High-performance API built with FastAPI
  • Clean, accessible UI using ShadCN UI and Tailwind CSS
  • Responsive design for mobile and desktop
  • API-first design for easy integration into other apps
  • ☁ Fully deployed and accessible online

NLP & AI Technology

spaCy

spaCy is an open-source library for advanced Natural Language Processing in Python. It provides fast and efficient tokenization, part-of-speech tagging, and entity recognition, making it ideal for text pre-processing and analysis.

language-tool-python

This is a Python wrapper for LanguageTool, a rule-based grammar, style, and spell checker that supports multiple languages. It provides detailed grammar corrections and suggestions based on linguistic rules.

Gemini AI

GrammaScan integrates Gemini, Google’s advanced multimodal AI model, to serve as an intelligent language assistant. Users can ask Gemini for writing advice, explanation of grammar rules, or help rewriting sentences with improved clarity and tone.


Technology Stack

Layer Stack
Frontend Next.js, ShadCN UI, Tailwind CSS
Backend FastAPI, spaCy, language-tool-python
AI Gemini API (Google AI Studio / PaLM)
Deployment Vercel (frontend), Render (backend)

🌐 Live Demo


Local Setup Instructions

🔹 Backend (FastAPI + spaCy + LanguageTool)

# Clone the repository
git clone https://github.com/yourusername/grammascan.git
cd grammascan/backend

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate   # On Windows: venv\Scripts\activate

# Install Python dependencies
pip install -r requirements.txt

# Run the backend server
uvicorn main:app --reload

Project Structure

grammascan/
├── backend/
│ ├── grammar_utils.py    # spaCy + LanguageTool logic
│ ├── main.py             # FastAPI app entry point
│ ├── models.py           # Pydantic models and schemas
│ └── requirements.txt 
│
├── frontend/
│ ├── app/                # Next.js pages and routing
│ ├── components/         # UI components using ShadCN
│ ├── public/ 
│ ├── lib/                # Utility functions (API client, helpers)
│ └── tailwind.config.ts 
│
└── README.md 

Maintained by Ommooley10, For issues, suggestions, or contributions, please open an issue or pull request.

About

A powerful english grammar checker tool built using Spacy NLP library and language-tool-python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors