Entity & Semantic Analysis for SEO
Extracts named entities, computes salience, maps semantic fields, and optionally extracts subject-verb-object triples for knowledge graph building.
Install
pip install -r requirements.txtRun
python entity_analysis.py --url https://example.com/pagepython entity_analysis.py --file article.html --output entities.xlsxpython entity_analysis.py --text "Your content..." --graph entity_graph.htmlExport
Add --output report.xlsx to save results as a spreadsheet.
| Flag | Description |
|---|---|
--url | URL to analyze |
--file | Local HTML/text file |
--text | Raw text input |
--output | Save entities as XLSX |
--graph | Generate entity graph HTML |
--skip-clusters | Enable output mode (flag, no value needed) |
--skip-triples | Enable output mode (flag, no value needed) |
python entity_analysis.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, spacy. 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/entity_analysis/