Research Article Open Access

Social Media Sentiment Analysis: The Hajj Tweets Case Study

Mohammad Ashraf Ottom1 and Khalid M.O. Nahar1
  • 1 Yarmouk University, Jordan

Abstract

About forty five percent of the world's population use social networks, thinking of using these platforms seemed to find people's opinions and feelings on various topics. Companies that offer their services and products to customers focus on the subject for future improvement. Thus, serious thinking began to analyze the views of people across different social platforms and also to develop the best ways to analyze these views. In this study, we focused on finding the best way for sentiment analysis by using a series of Hajj-related tweets, which is one of the most important rituals performed by Muslims, where the companies responsible for the pilgrimage season seek to complete the season in best way every year. We used the Support Vector Machine (SVM), K-Nearest Neighbor (KNN) and Naïve Bayes (NB) as supervised algorithms for machine-learning approach and Text Blob analyzer for lexicon-based approach. Finding shows that, machine learning techniques worked better than the lexicon approach in the classification and analysis of Hajj related tweets. Even the limited availability of Hajj tweets corpus dataset, SVM reaches the best accuracy which was 84%.

Journal of Computer Science
Volume 17 No. 3, 2021, 265-274

DOI: https://doi.org/10.3844/jcssp.2021.265.274

Submitted On: 27 November 2020 Published On: 20 March 2021

How to Cite: Ottom, M. A. & Nahar, K. M. (2021). Social Media Sentiment Analysis: The Hajj Tweets Case Study. Journal of Computer Science, 17(3), 265-274. https://doi.org/10.3844/jcssp.2021.265.274

  • 3,573 Views
  • 1,491 Downloads
  • 11 Citations

Download

Keywords

  • Sentiment Analysis
  • Text Mining
  • Twitter Analysis
  • Feature Extraction
  • Tweets Classification