Sentiment Analysis of Public Reaction towards Pakistan Democratic Movement

  • Muntazir Mehdi Department of Computer Science Software Engineering, NED University of Engineering and Technology, Pakistan
  • Noman Islam Karachi Institute of Economics and Technology, Pakistan
  • Anamta Irfan Department of Computer Science Software Engineering, NED University of Engineering and Technology, Pakistan
  • Sana Habib Department of Computer Science Software Engineering, NED University of Engineering and Technology, Pakistan
Keywords: sentiment analysis, LSTM, CNN, reaction analysis, emotion detection

Abstract

This paper performs the sentiment analysis on tweets and social media posts of general people of Pakistan about one of Pakistan’s political party i.e. Pakistan Democratic Movement (PDM). PDM is a political movement comprised of 11 political parties of Pakistan founded against the current government of Pakistan. This paper focus on analyzing the sentiments of common Pakistanis towards PDM. Sentiment analysis is also called opinion mining or text mining. It is a way to find out public opinion and their reaction towards a particular entity or a topic. In the proposed system, data is extracted from Facebook using instant data scraper, and also tweets from twitter were extracted using twitter API. The data was extracted based on the query: current situations in Pakistan i.e. Pakistan Democratic Movement. This paper focuses on mining social media comments written in different languages and mostly in English. After pre-processing, data is labelled manually using 5 emotions which are agree, disagree, neutral, sarcastic and angry. After labeling the data several algorithms are used like support vector machines, Long Short Term Memory (LSTM) and Convolutional Neural Network (CNN) to classify the tweets/ posts.

Published
2022-06-17
How to Cite
[1]
M. Mehdi, N. Islam, A. Irfan, and S. Habib, “Sentiment Analysis of Public Reaction towards Pakistan Democratic Movement”, PakJET, vol. 5, no. 2, pp. 66-72, Jun. 2022.