Ali578/ai-text-humanizer
2
๐ง๐ปโโ๏ธ AI Text Humanizer ๐ค
Transform AI-generated text into natural, human-like, academic-style writing with advanced NLP techniques.
โจ Features
- ๐ Contraction Expansion - Converts informal contractions to formal language (don't โ do not)
- ๐ Academic Transitions - Adds professional transition words for better flow
- ๐ Passive Voice Conversion - Optional transformation to passive voice for formal tone
- ๐ Intelligent Synonym Replacement - Context-aware word substitution using semantic similarity
- ๐พ Export Functionality - Download transformed text as .txt files
- ๐ฒ Reproducible Results - Set random seed for consistent transformations
- ๐ Real-time Statistics - Track word and sentence count changes
๐ฏ How to Use
- Enter or upload your text - Paste your AI-generated text or upload a .txt file
- Select transformation options in the sidebar:
- Enable Passive Voice Transformation
- Enable Synonym Replacement
- Enable Reproducible Results (set seed)
- Click "Transform to Academic Style"
- Review the results - Compare statistics and download if needed
๐ ๏ธ Tech Stack
- Framework: Streamlit 1.42.0
- NLP Processing: spaCy 3.8.4
- Semantic Analysis: Sentence Transformers 3.4.1
- Text Processing: NLTK 3.9.1
- ML Backend: PyTorch 2.6.0
๐ Performance
- โก Model caching for 70% faster repeat transformations
- ๐ฏ Optimized dependencies (18 essential packages)
- ๐ก๏ธ Comprehensive error handling
- ๐พ Minimal memory footprint (~1GB)
๐ง How It Works
- Contraction Expansion - Uses NLTK tokenization with smart spacing
- Academic Transitions - Adds formal connectors (Moreover, Additionally, etc.)
- Passive Voice - spaCy dependency parsing identifies Subject-Verb-Object patterns
- Synonym Replacement - WordNet synonyms filtered by semantic similarity (>0.5 threshold)
๐ Use Cases
Perfect for:
- Students formalizing casual writing
- Content creators humanizing AI-generated text
- Researchers improving draft readability
- Anyone needing quick academic tone conversion
๐ Example
Input:
I don't think this'll work. It's really bad.Output:
Moreover, I do not think this will work. Furthermore, it is really bad.๐ License
MIT License - Feel free to use and modify!
๐ Links
- GitHub Repository: https://github.com/AliMehdi512/AI-Text-Humanizer-App
- Documentation: Check the README.md in the repository
๐ Acknowledgments
Built with โค๏ธ using:
Made with โค๏ธ for the AI/NLP community
