Real Time Sentiment Analysis

Real Time Sentiment Analysis

Sandip Palit, Soumadip Ghosh
DOI: 10.4018/978-1-6684-6303-1.ch002
OnDemand:
(Individual Chapters)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Data is the most valuable resource. We have a lot of unstructured data generated by the social media giants Twitter, Facebook, and Google. Unfortunately, analytics on unstructured data cannot be performed. As the availability of the internet became easier, people started using social media platforms as the primary medium for sharing their opinions. Every day, millions of opinions from different parts of the world are posted on Twitter. The primary goal of Twitter is to let people share their opinion with a big audience. So, if the authors can effectively analyse the tweets, valuable information can be gained. Storing these opinions in a structured manner and then using that to analyse people's reactions and perceptions about buying a product or a service is a very vital step for any corporate firm. Sentiment analysis aims to analyse and discover the sentiments behind opinions of various people on different subjects like commercial products, politics, and daily societal issues. This research has developed a model to determine the polarity of a keyword in real time.
Chapter Preview
Top

2. Literature Review

Web 2.0 (Murugesan S., 2007) is an enhanced version of the Web 1.0. It forms the foundation for social media platforms. It is strongly characterised by the change from static to dynamic or user-generated content. Some of its advantages are: better media support, dynamic and real-time discussion. It enables the user to add their opinions in the form of posts or tweets. Web 2.0 tools (Thackeray et al., 2008) allows the user to create and modify content on many social platforms, like Twitter, Facebook and Youtube. This promotes interactive content, which results in a better user experience. A major part of this data is unstructured texts, such as tweets, reviews and blogs.

Although the first academic studies for analysing public opinion was during World War 2, the evolution of modern sentiment analysis took place in the mid-2000s, whose main purpose was to understand people’s opinion on various online products (Kumar & Vadlamani, 2015). In recent years, researchers started applying sentiment analysis on social media platforms like Twitter and Facebook. This also works well on various other topics like the stock market, disasters, medicines, election and software engineering (Mäntylä et al., 2018).

‘Opinion mining and sentiment analysis’ by Pang and Lee (2008) was the top-cited paper on sentiment analysis. It focuses mainly on the fundamentals and basic application of Sentiment analysis. It also developed some free resources like lexicons and datasets.

One of the pioneer works on Reviews analysis done by Pang, Lee and Vaithyanathan (2002), tried to classify the overall statement, instead of classifying by topics. Using standard machine learning techniques like Naïve Bayes, Support Vector Machine and Maximum Entropy Classification, they classified the movie reviews as positive or negative.

Turney’s works (2002) on document level semantic classification was also a widely cited work from 2002. He developed a simple unsupervised learning algorithm to classify reviews as thumbs up (recommended) or thumbs down (not recommended), based on the semantic orientation of the phrases present in the review. They achieved an average accuracy of 74%.

Mamta and Ela Kumar (2019) developed a lexicon-based framework to perform real-time sentiment analysis on Twitter. In the data pre-processing stage, they removed the special characters from the tweets, indirectly removing the emojis. Emojis are important in understanding the positive or negative tone of the statement (Walther & D’addario, 2001). In our approach, we manually decoded these emojis. Nowadays, we use lots of acronyms. Usage of acronyms can decrease the accuracy of our model (Palmquist R.D., 2008), so we expanded those acronyms using the python regex module.

Complete Chapter List

Search this Book:
Reset