An advanced AI-powered text analysis system that detects whether content is AI-generated or human-written using a hybrid architecture combining:
- 🤖 Transformer-based deep learning
- ✍️ Stylometric feature analysis
- 📊 Machine learning classification
It also includes:
- Grammar checking
- Style analysis
- Plagiarism detection
✨ AI vs Human Detection ✨ Hybrid Model (DeBERTa + Stylometry) ✨ Grammar & Writing Feedback ✨ Plagiarism Detection ✨ Long Document Support (Chunking) ✨ Chrome Extension Integration ✨ GPU Acceleration (CUDA)
- Uses DeBERTa Transformer
- Extracts contextual embeddings
- Works as semantic understanding layer
-
Captures writing style patterns:
- Sentence length
- Word complexity
- Vocabulary richness
- Punctuation usage
- Powered by LanguageTool
- Detects grammatical errors
- Suggests corrections
- Integrated with external API
- Detects similarity with online content
- Returns plagiarism score
-
Hybrid model:
- Deep Learning + Traditional ML
-
Supports:
- GPU (CUDA)
- Large text processing
- FastAPI
- PyTorch
- Hugging Face Transformers
- scikit-learn
- spaCy
- NumPy
- Next.js
- React
- CUDA (GPU acceleration)
- LanguageTool (Grammar checking)
- External API (Plagiarism)
- Multilingual support
- Explainable AI (highlight AI text)
- Real-time editor integration
- Improved long-text understanding
- Continuous model updates
git clone <repository-url>cd backendWindows
python -m venv venv
venv\Scripts\activatemacOS / Linux
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txtuvicorn app:app --reloadBackend runs at:
http://127.0.0.1:8000
cd ai-text-detectornpm installnpm run devFrontend runs at:
http://localhost:3000
| Service | Command | Port |
|---|---|---|
| Backend | uvicorn app:app --reload |
8000 |
| Frontend | npm run dev |
3000 |
From the project root:
cd extensions
Ensure this folder contains a manifest.json file.
Open Google Chrome and navigate to:
chrome://extensions
Turn Developer mode ON (top-right corner).
Click Load unpacked
Select the extensions folder
Click Open
✅ The extension will be successfully loaded into Chrome.
Click the 🧩 Extensions icon in the Chrome toolbar
Pin your extension
Open any webpage and use the extension features
| Service | Command / Action | Port |
|---|---|---|
| Backend | uvicorn app:app --reload | 8000 |
| Frontend | npm run dev | 3000 |
| Chrome Extension | Load Unpacked (extensions/) | — |