A streamlined web application and API designed for academic text rewriting and enhancement. Convert draft or AI-generated text into natural, human-like writing while preserving academic integrity and citations.
- Smart Citation Protection: Automatically detects and protects academic citations (e.g. APA format) from being altered.
- Rule-based Enhancements: Expands contractions, replaces repetitive words with context-appropriate synonyms, and inserts professional transitions.
- Customizable Intensity: User-controlled sliders for synonym replacement rate and transition frequency.
- Line Break Preservation: Keeps paragraphs and line breaks formatted exactly like the input.
- Fast & Private: Runs completely locally (on your machine or private server) with no external API calls required.
- Streamlit Web UI: Simple, user-friendly interactive interface.
- FastAPI Endpoint: Production-ready API for programmatic integration.
- Streamlit - Web UI frontend
- FastAPI & Uvicorn - API server framework
- Python 3.8+ - Core language
- spaCy - Part-Of-Speech (POS) tagging and lemmatization
- NLTK - Sentence tokenization and WordNet synonyms
-
Clone the repository:
git clone <repo-url> cd AI-content-detector-Humanizer
-
Run setup script (installs dependencies, downloads NLTK and spaCy models):
chmod +x setup.sh ./setup.sh
-
Run Streamlit Web UI:
streamlit run main.py
-
Run FastAPI Server:
uvicorn api.humanize_api:app --reload