This repo contains old Jupyter notebooks I used to preprocess a text corpus and generate various topic models. A corpus was dedicated to deterrence, and the main purpose of analysis was to see what subtopics authors typically write about, as well as how these subtopics vary over time.]
The notebooks were created largely for demonstrational/learning purposes, therefore the commentaries are quite vast and some procedures somewhat overlap.
deterrence_analysis.ipynb contains interacitve visualizations generated with PyLDAivs
Some parts of the notebooks were slightly changed (mainly file paths) because I can't really disclose them.