This example shows the recommended command-line path for a complete research run.
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
python -m spacy download en_core_web_smpython research_tool.py run -i corpus.docx -o output -t "China; India; Global South" --no-countryUse --no-country when you want a fully offline run. Remove it if you want Wikidata-based country suggestions.
output/
+-- run_config.json
+-- source_counts.xlsx
+-- merged_sources.xlsx
+-- adjectives_phrases.xlsx
+-- adjectives_final.xlsx
+-- 06_review/
+-- 07_reports/
The most important workbook for discourse analysis is adjectives_phrases.xlsx:
KWIC: context for close reading.Collocates: target-window co-occurrence candidates.SemanticProsodyCandidates: candidate appraisal/semantic-prosody labels.GroupComparison: source-group comparison.
python research_tool.py review output --sample-size 50Fill is_correct, human_result, error_type, and notes in the review templates, then rerun the same command to refresh validation_report.xlsx.
python research_tool.py docsStart with:
docs/WORKFLOW.mddocs/METHODOLOGY.mddocs/DATA_DICTIONARY.mddocs/VALIDATION.mddocs/literature_notes/00_INDEX.md
python research_tool.py test