various methods of topic modeling are explored using a philosophical text - K-Means, Hierarchical and NMF clustering along with various forms of LSA and LDA
Should work as a Google Colab worksheet as well as stand alone code. Tested on VSCode on MacOS. Update Constants where img and output files go, as well as input files (FILE_DIR) and code should run end to end. Any questions or comments pls email [email protected].
Dependencies are embedded in the file in the Libraries and Dependencies section. Tested with python 3.10.4 locally.