Humanize AI content by detecting and auto-fixing AI generated content. Humanize AI text using Python scripts. Scans for AI vocabulary, puffery, chatbot artifacts, and auto-replaces filler phrases. Use when you want to analyze text in AI detector and bypass it in future, batch-process files, run automated cleanup, or get a report before manual humanizing.
Command-line tools for detecting and auto-fixing AI writing patterns.
Scans text and reports AI vocabulary, puffery, chatbot artifacts, and auto-replaceable phrases.
# Analyze a file
python scripts/analyze.py input.txt
# Analyze from stdin
echo "This serves as a testament to our commitment" | python scripts/analyze.py
# JSON output for programmatic use
python scripts/analyze.py input.txt --json
Output example:
==================================================
AI PATTERN ANALYSIS - 5 issues found
==================================================
AI VOCABULARY:
• testament: 1x
• crucial: 2x
AUTO-REPLACEABLE:
• "serves as" → "is": 1x
• "in order to" → "to": 1x
Performs automatic replacements for common AI-isms.
# Humanize and print to stdout
python scripts/humanize.py input.txt
# Write to output file
python scripts/humanize.py input.txt -o output.txt
# Include em dash replacement
python scripts/humanize.py input.txt --fix-dashes
# Quiet mode (no change log)
python scripts/humanize.py input.txt -q
What it fixes automatically:
Analyze first to see what needs fixing:
python scripts/analyze.py document.txt
Auto-fix safe replacements:
python scripts/humanize.py document.txt -o document_clean.txt
Manual review for AI vocabulary and puffery flagged by analyze (these require human judgment)
Re-analyze to confirm improvements:
python scripts/analyze.py document_clean.txt
Edit scripts/patterns.json to add/remove:
ai_words — vocabulary that flags but doesn't auto-replacepuffery — promotional language to flagreplacements — phrase → replacement mappings (empty string = delete)chatbot_artifacts — phrases to auto-removehedging_phrases — excessive hedging to flagProcess multiple files:
# Analyze all markdown files
for f in *.md; do
echo "=== $f ==="
python scripts/analyze.py "$f"
done
# Humanize all txt files in place
for f in *.txt; do
python scripts/humanize.py "$f" -o "$f.tmp" && mv "$f.tmp" "$f"
done