@Sebastian-Frazier
A command-line tool for collecting, organizing, and exploring academic research on healthcare cybersecurity. This tool scrapes data from multiple sources, builds topic taxonomies, and performs recursive topic expansion using keyword-based DFS.
- Collects academic articles from:
- IEEE Xplore
- Semantic Scholar
- PubMed
- arXiv
- Google Scholar (via SerpAPI)
- Merges results into a persistent
raw_articles.csv(never deletes existing data) - Prompts for manual and automatic keyword additions
- Builds topic taxonomies using BERTopic and generates word clouds
- Explores semantic keyword trees via DFS up to a user-defined depth
- Command-line interface with flexible flags and options
- Create and Activate Virtual Environment
python3 -m venv venv
source venv/bin/activate- Install Required Packages
pip install bertopic sentence-transformers scikit-learn wordcloud matplotlib tqdm beautifulsoup4 requests pandas nltk lxml numpy==1.23.5 transformers==4.39.3--build-taxonomy --> Build topics using BERTopic and generate a word cloud
--suggest-terms --> Suggest and optionally add new keywords from recent articles
--build-tree --> Recursively explore new keyword spaces using DFS
--tree-api --> API for DFS tree (semantic_scholar, pubmed, or arxiv)
--depth --> Depth of recursive keyword discovery (with --build-tree)
python3 scrapp.pypython3 scrapp.py --build-taxonomypython scrappy.py --suggest-termspython scrappy.py --build-tree --tree-api semantic_scholar --depth 3