Journal of Information Technology Management (Jan 2021)

Sentiment Analysis of Tweets Using Supervised Machine Learning Techniques Based on Term Frequency

  • Deepti Aggarwal,
  • Vikram Bali,
  • Abhishek Agarwal,
  • Kshitiz Poswal,
  • Madhav Gupta,
  • Abhishek Gupta

DOI
https://doi.org/10.22059/jitm.2021.80028
Journal volume & issue
Vol. 13, no. 1
pp. 119 – 141

Abstract

Read online

World of technology provides everyone with a great outlet to give their opinion, using social media like Twitter and other platforms. This paper employs machine learning methods for text analysis to obtain sentiments of reviews by the people on twitter. Sentiment analysis of the text uses Natural language processing, a machine learning technique to tell the orientation of opinion of a piece of text. This system extracts attributes from the piece of writing such as a) The polarity of text, whether the speaker is criticizing or appreciating, b) The topic of discussion, subject of the text. A comparison of the work done so far on sentiment analysis on tweets has been shown. A detailed discussion on feature extraction and feature representation is provided. Comparison of six classifiers: Naïve Bayes, Decision Tree, Logistic Regression, Support Vector Machine, XGBoost and Random Forest, based on their accuracy depending upon type of feature, is shown. Moreover, this paper also provides sentiment analysis of political views and public opinion on lockdown in India. Tweets with ‘#lockdown’ are analysed for their sentiment categorically and a schematic analysis is shown.

Keywords