Sentiment analysis is the process of determining whether a piece of writing is positive, negative, or neutral. Sentiment Analysis is a Natural Language Processing technique. A branch of linguistics, computer science, and artificial intelligence called "natural language processing" (NLP) studies how computers and human language interact, with a focus on how to train computers to process and analyse massive volumes of natural language data. The ultimate goal is to create a machine that is able to "understand" the contents of documents, including the subtle subtleties of language used in different contexts. Once the information and insights are accurately extracted from the documents, the technology can classify and arrange the documents themselves. Read More
Open a terminal in a specific folder. Then execute the following command one at a time.
git clone https://github.com/rohit-khoiwal-30/Covid19-Sentiment-Analysis.git
cd Covid19-Sentiment-Analysis
virtualenv env
env\scripts\activate
pip install -r requirements.txt
cd server
flask run
Open app folder and double-click index.html and enjoy the app.
The topic of Covid-19 is covered in a sizable corpus of tweets on Twitter. We wish to categorise how many people have good and negative views about the COVID-19 epidemic.
- We download Twitter's raw tweets into our system. Hydrate Tweets
- We must clean and preprocess tweets before using it.
- Than Tweet features can be extracted using the tf-idf vectorizer.
- Since the data is unlabeled, we must somehow label it in order to use supervised learning. Go to the notebook.
- After labelling, we extract features using countvectorizer from Sklearn.
- For classification, we employ a naïve bayes classifier.
Using an unsupervised learning technique, we labelled the data and classified based on that. Because we trained the model on 1 lakh tweets, we obtained quite decent accuracy but had a few small mistakes in identifying tweets.