Implementing Sentiment Analysis on Real-Time Twitter Data

Hisham Ahmed Sheikh,J. Jaiswal
2020-09-01
Abstract:: This study has been undertaken to investigate the application of Sentiment Analysis on real time Twitter data collected through Twitter API. Sentiment analysis is a progressive field of natural language processing. It is a way to detect the attitude, state of mind, or emotions of the person towards a product, service, movie, etc. by analyzing the opinions and reviews shared on social media, blogs and so on. Various social media platforms such as Facebook, Twitter and so on allow people to share their views with other people. Twitter has become the most popular social media platform that allows users to share information by way of the short messages called tweets on a real-time basis. These tweets consist of user opinions towards a particular topic, trend, or issue. These Tweets are first extracted in real time through application programming interfaces (APIs) using hashtags and keywords, about political figures such as Donald Trump, Narendra Modi, etc. They are then categorized based on their subjectivity and polarity. Machine learning algorithms such as Naïve Bayes and Random Forest Classifier are then used to accurately predict these Tweets as negative or non-negative (positive or neutral). This will give us an understanding on general public reception towards these figures. Our experimental results show that it is possible to process data in real-time, and obtain information continuously, albeit with varying classification accuracies due to real-time data collection .
Computer Science
What problem does this paper attempt to address?