A machine learning-based approach for sentiment analysis on distance learning from Arabic Tweets

被引:4
作者
Almalki, Jameel [1 ]
机构
[1] Umm Al Qura Univ, Coll Comp Al Leith, Dept Comp Sci, Mecca, Saudi Arabia
关键词
Sentiment analysis; Social media; -Learning; Twitter; Apache Spark; Arabic language; SOCIAL MEDIA;
D O I
10.7717/peerj-cs.1047
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Social media platforms such as Twitter, YouTube, Instagram and Facebook are leading sources of large datasets nowadays. Twitter's data is one of the most reliable due to its privacy policy. Tweets have been used for sentiment analysis and to identify meaningful information within the dataset. Our study focused on the distance learning domain in Saudi Arabia by analyzing Arabic tweets about distance learning. This work proposes a model for analyzing people's feedback using a Twitter dataset in the distance learning domain. The proposed model is based on the Apache Spark product to manage the large dataset. The proposed model uses the Twitter API to get the tweets as raw data. These tweets were stored in the Apache Spark server. A regex-based technique for preprocessing removed retweets, links, hashtags, English words and numbers, usernames, and emojis from the dataset. After that, a Logistic-based Regression model was trained on the pre-processed data. This Logistic Regression model, from the field of machine learning, was used to predict the sentiment inside the tweets. Finally, a Flask application was built for sentiment analysis of the Arabic tweets. The proposed model gives better results when compared to various applied techniques. The proposed model is evaluated on test data to calculate Accuracy, F1 Score, Precision, and Recall, obtaining scores of 91%, 90%, 90%, and 89%, respectively.
引用
收藏
页数:13
相关论文
共 21 条
[1]   Twitter Sentiment Analysis Approaches: A Survey [J].
Adwan, Omar Y. ;
Al-Tawil, Marwan ;
Huneiti, Ammar M. ;
Shahin, Rawan A. ;
Abu Zayed, Abeer A. ;
Al-Dibsi, Razan H. .
INTERNATIONAL JOURNAL OF EMERGING TECHNOLOGIES IN LEARNING, 2020, 15 (15) :79-93
[2]   Sentiment Analysis of Arabic Tweets Regarding Distance Learning in Saudi Arabia during the COVID-19 Pandemic [J].
Aljabri, Malak ;
Chrouf, Sara Mhd. Bachar ;
Alzahrani, Norah A. ;
Alghamdi, Leena ;
Alfehaid, Reem ;
Alqarawi, Reem ;
Alhuthayfi, Jawaher ;
Alduhailan, Nouf .
SENSORS, 2021, 21 (16)
[3]   A Sentiment Analysis Approach to Predict an Individual's Awareness of the Precautionary Procedures to Prevent COVID-19 Outbreaks in Saudi Arabia [J].
Aljameel, Sumayh S. ;
Alabbad, Dina A. ;
Alzahrani, Norah A. ;
Alqarni, Shouq M. ;
Alamoudi, Fatimah A. ;
Babili, Lana M. ;
Aljaafary, Somiah K. ;
Alshamrani, Fatima M. .
INTERNATIONAL JOURNAL OF ENVIRONMENTAL RESEARCH AND PUBLIC HEALTH, 2021, 18 (01) :1-12
[4]  
Althagafi A, 2021, INT J ADV COMPUT SC, V12, P620
[5]   The future of social media in marketing [J].
Appel, Gil ;
Grewal, Lauren ;
Hadi, Rhonda ;
Stephen, Andrew T. .
JOURNAL OF THE ACADEMY OF MARKETING SCIENCE, 2020, 48 (01) :79-95
[6]  
Arambepola N., 2020, PROC INT C ADV COMPU, P169
[7]  
Bhaumik Ujjayanta, 2021, Computational Intelligence and Machine Learning. Proceedings of the 7th International Conference on Advanced Computing, Networking, and Informatics (ICACNI 2019). Advances in Intelligent Systems and Computing (AISC 1276), P59, DOI 10.1007/978-981-15-8610-1_7
[8]  
Elzayady H, 2018, PROCEEDINGS OF 2018 13TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND SYSTEMS (ICCES), P171, DOI 10.1109/ICCES.2018.8639195
[9]  
Georgescu M, 2019, DIEM DUBR INT EC M
[10]  
Hasan RA, 2019, TELKOMNIKA, V17, P3086, DOI 10.12928/telkomnika.v17i6.11711