Semantic Drift Detector
Detect when content drifts off-topic mid-article. Flag sections where focus shifts away from the target keyword/theme.
Install
pip install -r requirements.txtRun
python semantic_drift_detector.py --url https://example.com/post --keyword "cloud hosting"python semantic_drift_detector.py --file article.html --keyword "seo tools" --output drift.xlsxExport
Add --output report.xlsx to save results as a spreadsheet.
| Flag | Description |
|---|---|
--url | Url |
--file | File |
--keyword required | Keyword |
--output | Output |
python semantic_drift_detector.py --helpRun across all your blog posts to score quality. Sort by score in the XLSX export, then prioritize rewrites for the lowest-scoring pages.
Before publishing freelance content, run this tool to check quality signals. Use specific metrics as concrete feedback for writers.
Include the analysis in your SEO audit report. Clients appreciate data-backed recommendations over subjective opinions.
Combine with other tools for a complete workflow:
Requires: beautifulsoup4, numpy, pandas, requests, scikit-learn, sentence-transformers. All included in requirements.txt.
Get all 154 Python SEO tools — $49
One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.
AAIO Inc — aaioinc.com/tools/semantic_drift_detector/