/Text2Analysis

Ready made code pipeline to process text (via different NLP magix). Deployable online (Heroku and GCloud).

Primary LanguagePython

Text2Analysis

Install

Prerequisite libraries:

  • pip install gensim pandas spacy pyLDAvis nltk bokeh wordcloud
  • run python script with import nltk and nltk.download('stopwords')
  • python3 -m spacy download en

Fast setup:

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/)

Demo

  • Run app.py file: python3 app.py

Version running online on Heroku: https://previtus-nlp-api-heroku.herokuapp.com/enter

(now offline) GCloud: https://text2analysis-sul7mvck2a-lz.a.run.app/

Demo