Installing and importing packages
To make our web application work properly, we need the following Python packages:
streamlit
: This is the core – that is, the framework that makes the magic happentextblob
: This is a nice package for basic sentiment analysis and some other basic NLP tasks (NLP is how computers understand human language, its meaning, its syntax, and so on)spacy
: This is quite an advanced package; it’s state of the art and can be used for almost any NLP taskneattext
: A very simple package for text cleaningmatplotlib
: Python’s most famous package for plotting graphs, diagrams, and so onwordcloud
: A package dedicated to nice word cloud creation and visualizations
We can install all these packages in our virtual environment (so we must already be inside the virtual environment) by typing the following unique instruction:
pipenv install streamlit textblob spacy neattext matplotlib wordcloud
Please note that...