Topic Modeler with Visualization
Runs LDA or NMF topic modeling on a corpus and generates an interactive HTML visualization of topic distributions.
Install
pip install -r requirements.txtRun
python topic_modeler.py --urls https://a.com https://b.com https://c.com --num-topics 8python topic_modeler.py --files *.html --method nmf --output topics.xlsx --viz topics.htmlExport
Add --output report.xlsx to save results as a spreadsheet.
| Flag | Description |
|---|---|
--urls | Urls. Multiple values allowed |
--files | Files. Multiple values allowed |
--num-topics | Num topics (integer) |
--method | Method. Options: lda, nmf |
--output | Save as XLSX |
--viz | Save visualization as HTML |
python topic_modeler.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. 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/topic_modeler/