Evaluating sentiment analysis for Arabic Tweets using machine learning and deep learning

Areej ALSHUTAYRI1, Huda ALAMOUDI1, Boushra ALSHEHRI1, Eman ALDHAHRI1, Iqbal ALSALEH2, Nahla ALJOJO3, Abdullah ALGHOSON3
1 College of Computer Science and Engineering, Department of Computer Science and Artificial Intelligence,
University of Jeddah, Jeddah, Saudi Arabia
2 Faculty of Economic and Administration, Management Information Systems Department,
King AbdulAziz University, Jeddah, Saudi Arabia
3 College of Computer Science and Engineering, Information Systems and Technology Department,
University of Jeddah, Jeddah, Saudi Arabia
ealsaleh@kau.edu.sa, (aoalshutayri, eaal-dhahery, nmaljojo, alghoson)@uj.edu.sa

Abstract: Sentiment analysis is concerned with determining whether a certain material contains online information which expresses positive or negative sentiments. The tools for performing this analysis should be able to identify and assess thoughts and feelings with a reasonable degree of accuracy on feelings that are made openly available by people. It is expected that sentiment analysis would be performed for social media. That is why this paper investigates online social media, as sentiment analysis has become an important subject, and it is one of the approaches employed in the field of natural language processing. Sentiment analysis was applied for an Arabic Twitter dataset in order to identify the feelings expressed by the textual tweets and determine whether they were positive, negative, or neutral. Bigrams and unigrams were used when employing the multinomial Naïve Bayes, Gaussian Naïve Bayes, Logistic Regression, and Support Vector Machines (SVM) machine learning algorithms. The Logistic Regression algorithm achieved the highest accuracy, that is with 63.40%. The Long Short-Term Memory (LSTM) neural network was used for the deep learning-based classification, and it reached an accuracy rate of 70%, a figure which proved to be higher than the results shown in the related works.

Keywords: sentiment analysis (SA), machine learning (ML), deep learning, Arabic tweets.

View full text

CITE THIS PAPER AS:
Areej ALSHUTAYRI, Huda ALAMOUDI, Boushra ALSHEHRI, Eman ALDHAHRI, Iqbal ALSALEH, Nahla ALJOJO, Abdullah ALGHOSON, Evaluating sentiment analysis for Arabic Tweets using machine learning and deep learning, Romanian Journal of Information Technology and Automatic Control, ISSN 1220-1758, vol. 32(4), pp. 7-18, 2022. https://doi.org/10.33436/v32i4y202201