How abhinaythurlapati/covid19 works
This repository is a COVID-19 research-paper corpus processing and question-search application. Its main workflow loads paper JSON, extracts and cleans text, builds an inverted index, then uses QA tasks to form search terms, retrieve matching document IDs, and load the papers. Separate pipelines generate vocabulary and word counts; exploratory modules analyze corpus identifiers, vocabulary, and URLs. The graph reflects sampled calls and documented imports; several capabilities are represented by their exact source paths, but their internal behavior was not sampled.
Main entry points: QnAtask.py QA search runner · generate_inverted_index.py Index generation · loaddata.py Paper JSON data · generate_vocabulary.py Vocabulary generation
Components 20
Corpus data
- Paper JSON data
covid19/DataManagement/loaddata.py - Research paper
covid19/lib/objects/researchpaper.py - Paths and settings
covid19/__init__.py - Table columns
covid19/definitions/columns.py - Index keys
covid19/definitions/json_keys.py - Table formats
covid19/definitions/table_formats.py
Text processing
- Text preprocessing
covid19/DataManagement/datapreprocessing.py - Batch buffer
covid19/lib/objects/buffer.py
Corpus indexing
- Index generation
covid19/pipelines/generate_inverted_index.py - Vocabulary generation
covid19/pipelines/generate_vocabulary.py - Word-count generation
covid19/pipelines/generate_words_count.py - Inverted index
covid19/lib/objects/inverted_index.py
Question search
- QA task definitions
covid19/lib/objects/tasks/qa.py - Task interface
covid19/lib/objects/tasks/tasks.py - QA search runner
covid19/QnAtask.py - Summary-table tasks
covid19/lib/objects/tasks/summary_tables.py
Corpus analysis
- UID analysis
covid19/exploratory_data_analysis/analyze_uids.py - Vocabulary analysis
covid19/exploratory_data_analysis/anaylze_global_vocabulary.py - URL matching
covid19/exploratory_data_analysis/matching_urls.py
Other components
- Researcher
Connections 26
- Paper JSON data → Paths and settings: reads paths
covid19/DataManagement/loaddata.py - Index generation → Paper JSON data: loads papers
covid19/pipelines/generate_inverted_index.py - Index generation → Research paper: extracts text
covid19/pipelines/generate_inverted_index.py - Index generation → Text preprocessing: cleans text
covid19/pipelines/generate_inverted_index.py - Index generation → Batch buffer: batches terms
covid19/pipelines/generate_inverted_index.py - Index generation → Inverted index: updates index
covid19/pipelines/generate_inverted_index.py - Vocabulary generation → Paper JSON data: loads papers
covid19/pipelines/generate_vocabulary.py - Vocabulary generation → Research paper: extracts sentences
covid19/pipelines/generate_vocabulary.py - Vocabulary generation → Text preprocessing: normalizes words
covid19/pipelines/generate_vocabulary.py - Vocabulary generation → Batch buffer: batches words
covid19/pipelines/generate_vocabulary.py - Word-count generation → Paper JSON data: references loader
covid19/pipelines/generate_words_count.py - Word-count generation → Research paper: references paper model
covid19/pipelines/generate_words_count.py - Word-count generation → Text preprocessing: references preprocessing
covid19/pipelines/generate_words_count.py - Word-count generation → Batch buffer: references buffer
covid19/pipelines/generate_words_count.py - Inverted index → Index keys: uses index keys
covid19/lib/objects/inverted_index.py - QA search runner → QA task definitions: loads tasks
covid19/QnAtask.py - QA task definitions → Task interface: inherits interface
covid19/lib/objects/tasks/qa.py - QA search runner → Text preprocessing: cleans questions
covid19/QnAtask.py - QA search runner → Inverted index: searches terms
covid19/QnAtask.py - QA search runner → Paper JSON data: loads matches
covid19/QnAtask.py - QA search runner → Research paper: wraps papers
covid19/QnAtask.py - Researcher → QA search runner: runs search
- UID analysis → Paths and settings: references settings
covid19/exploratory_data_analysis/analyze_uids.py - Vocabulary analysis → Paths and settings: references settings
covid19/exploratory_data_analysis/anaylze_global_vocabulary.py - URL matching → Table columns: uses columns
covid19/exploratory_data_analysis/matching_urls.py - Table formats → Table columns: uses columns
covid19/definitions/table_formats.py