Prerequisite libraries:
pip install gensim pandas spacy pyLDAvis nltk bokeh wordcloud
- run python script with
import nltk
andnltk.download('stopwords')
python3 -m spacy download en
git clone https://github.com/previtus/Text2Analysis.git
#(optionally make an environment)
pip3 install -r requirements.txt
python3 -m nltk.downloader stopwords
python3 -m spacy download en
python3 app.py
#(starts it on http://localhost:5000/)
- Run app.py file:
python3 app.py
Now it's also working online on GCloud, see: https://text2analysis-sul7mvck2a-lz.a.run.app/