Data and scripts for topic modeling projects using Gensim. Derived from the Russian Blog Project.
Uses Python 3.9 and Jupyter notebooks for visualisation.
- Check out this repository
git init
git clone https://github.com/ghowa/generic-topic-modeling
1.1 Install required python packages
pip install -r requirements.txt
1.2 Activate qgrid:
jupyter nbextension enable --py --sys-prefix qgrid
# only required if you have not enabled the ipywidgets nbextension yet
jupyter nbextension enable --py --sys-prefix widgetsnbextension
2.1 Install required python packages
conda env create -f environment.yml
Start Jupyter notebook:
jupyter notebook
A browser window will open. Select "corpus.ipynb" for browsing the corpus or "create_lda.ipynb" for creating a new topic model of the corpus.