Skip to main content
QUICK REVIEW

[Paper Review] Word frequency and sentiment analysis of twitter messages during Coronavirus pandemic

Nikhil Kumar Rajput, Bhavya Ahuja Grover|arXiv (Cornell University)|Apr 8, 2020
Sentiment Analysis and Opinion MiningComputer Science25 references55 citations
TL;DR

The paper analyzes Twitter data from January 2020 to study word frequency via power-law modelling (unigram, bigram, trigram) and performs sentiment analysis on WHO and public tweets using TextBlob.

ABSTRACT

The COVID-19 epidemic has had a great impact on social media conversation, especially on sites like Twitter, which has emerged as a hub for public reaction and information sharing. This paper deals by analyzing a vast dataset of Twitter messages related to this disease, starting from January 2020. Two approaches were used: a statistical analysis of word frequencies and a sentiment analysis to gauge user attitudes. Word frequencies are modeled using unigrams, bigrams, and trigrams, with power law distribution as the fitting model. The validity of the model is confirmed through metrics like Sum of Squared Errors (SSE), R-squared ($R^2$), and Root Mean Squared Error (RMSE). High $R^2$ and low SSE/RMSE values indicate a good fit for the model. Sentiment analysis is conducted to understand the general emotional tone of Twitter users messages. The results reveal that a majority of tweets exhibit neutral sentiment polarity, with only 2.57\% expressing negative polarity.

Motivation & Objective

  • Characterize word usage patterns in COVID-19 related Twitter messages from Jan 2020 onward.
  • Model word frequency distributions (unigram, bigram, trigram) using power-law and assess goodness-of-fit.
  • Assess public sentiment toward COVID-19 via Twitter data, including WHO and popular tweets.

Proposed method

  • Compute unigram, bigram, and trigram frequencies from Twitter data related to COVID-19.
  • Fit a power-law model f(x)=a x^b to rank-frequency distributions and evaluate with SSE, R^2, RMSE.
  • Use Python TextBlob to compute sentiment polarity for tweets, classifying as positive, neutral, or negative.

Experimental results

Research questions

  • RQ1What is the distribution pattern of word frequencies in COVID-19 related tweets across unigrams, bigrams, and trigrams?
  • RQ2Do unigram, bigram, and trigram frequency distributions follow a power-law model, and how good is the fit?
  • RQ3What is the overall sentiment distribution of COVID-19 related tweets from WHO and the general public?

Key findings

  • Unigram and bigram frequencies follow a power-law distribution with heavy tails, while trigram frequencies also fit but with different exponent.
  • Power-law fits show high R^2 values (0.9172 for unigram, 0.8718 for bigram, 0.9461 for trigram) and low SSE/RMSE, indicating good fit.
  • Most tweets are neutral or positive; WHO tweets are about 60% positive, 24% neutral, 16% negative, while general public tweets are 29% positive, 55% neutral, 16% negative.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.