Coronavirus outbreak and Pakistani Twitter: DG ISPR and CM Sindh leading PM Khan in “positive sentiments”

0
Farooq

Dr. Farooq Yousaf

It seems that the confusion surrounding the PTI Government in terms of dealing with the Coronavirus (COVID-19) outbreak is also denting the party’s – especially PM Imran Khan’s – perception on the social media.

The three major stakeholders currently under discussion on Twitter in terms of Pakistan’s response to the COVID-19 outbreak include the Sindh Government, the PTI Government and, more recently, the DG ISPR.

Even though it should not be taken as a major generalizable indicator, a basic sentiment analysis conducted, through Python and Twitter API, on these three stakeholders suggests that both the Sindh Government, and its CM Murad Ali Shah, and DGISPR, after his latest press talk on the coronavirus outbreak, are leading Pakistani twitter with twitter users expressing positive sentiments towards both. Even though sentiments towards PM Imran Khan are also predominantly positive, his ratio/percentage of positive to negative is lower than both CM Sindh and DG ISPR.

“Sentiment Analysis” is a technique used in text mining and analysis of various emotions associated with the text.” For this analysis, variety of text analysis libraries, on Python, were used to run and re-run sentiment analyses of various datasets that were imported from twitter using Twitter’s API. Due to Twitter’s data extraction limitations, only a certain number of tweets can be extracted at a given time. Therefore, the following sentiment analyses are based on 500-1000 tweets for each of the three stakeholders.

This analysis was performed to gauge the general sentiment of Pakistani Twitter in terms of how it was reacting to various major stakeholders in the country in terms of their response towards the coronavirus outbreak. Moreover, this analysis should be treated as a sample to explore wider applications of Machine Learning and Natural Language processing in political narrative and discourse analysis of Pakistan. The following analyses of tweets do not contain retweeted tweets. The scale for reading the values can be found at the bottom of this page*.

(Anyone interested in performing a Sentiment Analysis on their own can read this resource.)

Sindh Government:

The COVID-19 pandemic has somewhat brought the Pakistan Peoples Party back in the country’s mainstream politics. Sindh CM Murad Ali Shah of Sindh Province has led from the front to tackle the outbreak in the province. It is no wonder that over 80% of the tweets from our random sample of tweets expressed positive sentiments towards the Sindh CM.

DG ISPR

On the other hand, the newly appointed DG ISPR Maj Gen Babar Iftikhar has received positive feedback on his ‘apolitical’ press talk on Pakistan Resolution Day and the coronavirus pandemic. The DG argued that even though the ‘geographical’ borders had been closed as a preventive measure, “the actual border was between the man and the coronavirus, which we (Pakistan) have yet to take control of”. The tweets mentioning #DGISPR as their hashtag had an 80% positive sentiment ratio.

PTI Government

Finally,both PM Imran Khan and his PTI Government had the lowest “positive sentiment” ratio out of three stakeholders under discussion, with 67% positive tweets mentioning either #ImranKhan and #PTIGovernment. Even though the majority of the tweets in the sample had a positive sentiment, the lowest percentage of the three means that PM, due to lack of clarity in his plan for dealing with the outbreak, is losing his popularity on twitter. This is especially interesting because PTI’s social media team and campaigns are considered to be the most sophisticated in the country among all political and non-political stakeholders. Hence, this provides a point of concern for the PM.

Even though Pakistani Twitter’s sentiment analysis presents an interesting picture the apparent popularity, in terms of positive sentiments, of various political and non-political stakeholders, this analysis should be treated as the “final word” on the topic for two reasons. 1) the sample size of analysis is limited and consists of 500-1000 tweets each for each stakeholder, and 2) the analysis excludes tweets in local and national languages, which might present a different picture altogether. However, the analysis was used as an example to show how policymakers can use Machine Learning, and Natural Language Processing to gauge sentiments of social media users in their constituencies.  

———————————-

*Scale:

-1: Very Negative Sentiment

 1: Very Positive Sentiment

The author holds a PhD in Politics from the University of Newcastle Australia. He has also previously received his Masters in Public Policy from the University of Erfurt in Germany.