{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,20]],"date-time":"2026-04-20T10:32:48Z","timestamp":1776681168160,"version":"3.51.2"},"reference-count":51,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T00:00:00Z","timestamp":1704153600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["BDCC"],"abstract":"<jats:p>Sentiment analysis plays a crucial role in understanding public opinion and social media trends. It involves analyzing the emotional tone and polarity of a given text. When applied to Arabic text, this task becomes particularly challenging due to the language\u2019s complex morphology, right-to-left script, and intricate nuances in expressing emotions. Social media has emerged as a powerful platform for individuals to express their sentiments, especially regarding religious and cultural events. Consequently, studying sentiment analysis in the context of Hajj has become a captivating subject. This research paper presents a comprehensive sentiment analysis of tweets discussing the annual Hajj pilgrimage over a six-year period. By employing a combination of machine learning and deep learning models, this study successfully conducted sentiment analysis on a sizable dataset consisting of Arabic tweets. The process involves pre-processing, feature extraction, and sentiment classification. The objective was to uncover the prevailing sentiments associated with Hajj over different years, before, during, and after each Hajj event. Importantly, the results presented in this study highlight that BERT, an advanced transformer-based model, outperformed other models in accurately classifying sentiment. This underscores its effectiveness in capturing the complexities inherent in Arabic text.<\/jats:p>","DOI":"10.3390\/bdcc8010005","type":"journal-article","created":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T06:04:09Z","timestamp":1704175449000},"page":"5","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":17,"title":["Unveiling Sentiments: A Comprehensive Analysis of Arabic Hajj-Related Tweets from 2017\u20132022 Utilizing Advanced AI Models"],"prefix":"10.3390","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5951-2498","authenticated-orcid":false,"given":"Hanan M.","family":"Alghamdi","sequence":"first","affiliation":[{"name":"Department of Computers, College of Engineering and Computing Al Qunfidhah, Umm Al-Qura University, Mecca 24382, Saudi Arabia"}]}],"member":"1968","published-online":{"date-parts":[[2024,1,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1016\/j.ijid.2016.06.013","article-title":"The annual Hajj pilgrimage\u2014Minimizing the risk of ill health in pilgrims from Europe and opportunity for driving the best prevention and health promotion guidelines","volume":"47","author":"Shafi","year":"2016","journal-title":"Int. J. Infect. Dis."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"133","DOI":"10.1089\/hs.2020.0144","article-title":"COVID-19 Mitigation Plans during Hajj 2020: A Success Story of Zero Cases","volume":"19","author":"Jokhdar","year":"2021","journal-title":"Health Secur."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"243","DOI":"10.1108\/IJHMA-04-2020-0035","article-title":"Affordable housing in Saudi Arabia\u2019s vision 2030: New developments and new challenges","volume":"14","author":"Alqahtany","year":"2021","journal-title":"Int. J. Hous. Mark. Anal."},{"key":"ref_4","first-page":"17","article-title":"Intelligent Recognition System for Identifying Items and Web-Portal System for Missing-and-Found Items","volume":"966","author":"Aly","year":"2018","journal-title":"NED Univ. J. Res."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"259","DOI":"10.32604\/csse.2022.018458","article-title":"Smart mina: Lorawan technology for smart fire detection application for hajj pilgrimage","volume":"40","year":"2022","journal-title":"Comput. Syst. Sci. Eng."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Rahman, A., Hamid, N.A.W.A., Rahiman, A.R., and Zafar, B. (2015, January 18\u201319). Towards accelerated agent-based crowd simulation for Hajj and Umrah. Proceedings of the 2015 International Symposium on Agents, Multi-Agent Systems and Robotics (ISAMSR), Putrajaya, Malaysia.","DOI":"10.1109\/ISAMSR.2015.7379132"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"2598","DOI":"10.11591\/eei.v10i5.2361","article-title":"Hajj pilgrimage video analytics using CNN","volume":"10","author":"Bhuiyan","year":"2021","journal-title":"Bull. Electr. Eng. Inform."},{"key":"ref_8","unstructured":"Bati, G. (2023, November 12). Using Big Data Tools to Analyze Tweets Related to Hajj Sentimentally. In Proceedings of the Hajj Forum 2016\u2014The 15 Scientific Hajj Research Forum, Madinah, Saudi Arabia. Available online: https:\/\/www.researchgate.net\/publication\/292146913_Using_Big_Data_Tools_to_Analyze_Tweets_Related_to_Hajj_Sentimentally."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"265","DOI":"10.3844\/jcssp.2021.265.274","article-title":"Social Media Sentiment Analysis: The Hajj Tweets Case Study","volume":"17","author":"Ottom","year":"2021","journal-title":"J. Comput. Sci."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"e1087","DOI":"10.7717\/peerj-cs.1087","article-title":"Analyzing perceptions of a global event using CNN-LSTM deep learning approach: The case of Hajj 1442 (2021)","volume":"8","author":"Shambour","year":"2022","journal-title":"PeerJ Comput. Sci."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"75404","DOI":"10.1109\/ACCESS.2022.3190853","article-title":"Solving Hajj and Umrah Challenges Using Information and Communication Technology: A Survey","volume":"10","author":"Showail","year":"2022","journal-title":"IEEE Access"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"41","DOI":"10.4197\/Eng.32-1.4","article-title":"Impressions of the Community of Makkah on the Hajj in the Light of COVID-19 Pandemic: Quantitative and AI-based Sentiment Analyses","volume":"32","author":"Aldhubaib","year":"2022","journal-title":"J. King Abdulaziz Univ. Eng. Sci."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"8869","DOI":"10.1007\/s13369-021-05605-8","article-title":"Involving Spaces of Unicode Standard within Irreversible Arabic Text Steganography for Practical Implementations","volume":"46","author":"Alanazi","year":"2021","journal-title":"Arab. J. Sci. Eng."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"2585","DOI":"10.1007\/s13369-021-06200-7","article-title":"Novel Arabic e-Text Watermarking Supporting Partial Dishonesty Based on Counting-Based Secret Sharing","volume":"47","author":"Almehmadi","year":"2022","journal-title":"Arab. J. Sci. Eng."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"10292","DOI":"10.48084\/etasr.5662","article-title":"Arabic Sentiment Analysis for Twitter Data: A Systematic Literature Review","volume":"13","author":"Alqurashi","year":"2023","journal-title":"Eng. Technol. Appl. Sci. Res."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"408","DOI":"10.1016\/j.future.2020.05.034","article-title":"A review of sentiment analysis research in Arabic language","volume":"112","author":"Oueslati","year":"2020","journal-title":"Futur. Gener. Comput. Syst."},{"key":"ref_17","first-page":"1294","article-title":"A Sentiment Analysis Model for Terrorist Attacks Reviews on Twitter","volume":"24","author":"Fadel","year":"2020","journal-title":"Sak. Univ. J. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"572","DOI":"10.1002\/cae.22253","article-title":"Sentiment analysis on massive open online course evaluations: A text mining and deep learning approach","volume":"29","author":"Onan","year":"2021","journal-title":"Comput. Appl. Eng. Educ."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"101345","DOI":"10.1016\/j.tele.2020.101345","article-title":"Sentiment analysis of extremism in social media from textual information","volume":"48","author":"Asif","year":"2020","journal-title":"Telemat. Inform."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1693","DOI":"10.1007\/978-3-030-51156-2_197","article-title":"Sentiment Analysis on Students\u2019 Evaluation of Higher Educational Institutions","volume":"1197","author":"Onan","year":"2021","journal-title":"Adv. Intell. Syst. Comput."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Aljabri, M., Chrouf, S.M., Alzahrani, N.A., Alghamdi, L., Alfehaid, R., Alqarawi, R., Alhuthayfi, J., and Alduhailan, N. (2021). Sentiment analysis of arabic tweets regarding distance learning in saudi arabia during the COVID-19 pandemic. Sensors, 21.","DOI":"10.3390\/s21165431"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"966779","DOI":"10.3389\/fpubh.2022.966779","article-title":"Twitter sentiment analysis: An Arabic text mining approach based on COVID-19","volume":"10","author":"Albahli","year":"2022","journal-title":"Front. Public Health"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"119862","DOI":"10.1016\/j.eswa.2023.119862","article-title":"A review on sentiment analysis from social media platforms","volume":"223","year":"2023","journal-title":"Expert Syst. Appl."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"164","DOI":"10.1016\/j.patrec.2022.04.027","article-title":"Twitter sentiment analysis using ensemble based deep learning model towards COVID-19 in India and European countries","volume":"158","author":"Sunitha","year":"2022","journal-title":"Pattern Recognit. Lett."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"256","DOI":"10.1080\/01972243.2014.915276","article-title":"Using APIs for Data Collection on Social Media","volume":"30","author":"Lomborg","year":"2014","journal-title":"Inf. Soc."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Ben-Abdallah, E., and Boukadi, K. (2022). The effect of Facebook behaviors on the prediction of review helpfulness. J. Data Min. Digit. Humanit., 2022.","DOI":"10.46298\/jdmdh.9819"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"203","DOI":"10.1177\/1745691612442904","article-title":"A Review of Facebook Research in the Social Sciences","volume":"7","author":"Wilson","year":"2012","journal-title":"Perspect. Psychol. Sci."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"2649","DOI":"10.1080\/1369118X.2022.2097015","article-title":"User-centric approaches for collecting Facebook data in the \u2018post-API age\u2019: Experiences from two studies and recommendations for future research","volume":"26","author":"Breuer","year":"2022","journal-title":"Inf. Commun. Soc."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"21","DOI":"10.1080\/22041451.2020.1847820","article-title":"Approaching Instagram data: Reflections on accessing, archiving and anonymising visual social media","volume":"7","year":"2021","journal-title":"Commun. Res. Pract."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"3656","DOI":"10.1177\/1461444820960071","article-title":"From archive cultures to ephemeral content, and back: Studying Instagram Stories with digital methods","volume":"23","author":"Bainotti","year":"2021","journal-title":"New Media Soc."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Almaliki, M., Almars, A.M., Gad, I., and Atlam, E.S. (2023). ABMM: Arabic BERT-Mini Model for Hate-Speech Detection on Social Media. Electronics, 12.","DOI":"10.3390\/electronics12041048"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Kready, J., Shimray, S.A., Hussain, M.N., and Agarwal, N. (2020, January 18\u201322). YouTube Data Collection Using Parallel Processing. Proceedings of the 2020 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), New Orleans, LA, USA.","DOI":"10.1109\/IPDPSW50202.2020.00185"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"493","DOI":"10.1007\/s10479-020-03534-7","article-title":"Joint sentence and aspect-level sentiment analysis of product comments","volume":"300","author":"Mai","year":"2021","journal-title":"Ann. Oper. Res."},{"key":"ref_34","unstructured":"Albishre, K.M., and Albasam, A.S. (2022, January 9\u201310). Social Media Monitoring for Enhancing Hajj Pilgrimage Experience. Proceedings of the 21th Scientific Forum of Hajj, Umrah and Madinah Visit Research\u2014Scientific Bulletin, Makkah, Saudi Arabia."},{"key":"ref_35","first-page":"82","article-title":"Sentiment Analysis Methodology of Twitter Data with an application on Hajj season","volume":"2","author":"Elgamal","year":"2016","journal-title":"Int. J. Eng. Res. Sci."},{"key":"ref_36","unstructured":"Zahrani, R., Khaldi, I., and Qahtani, K. (2023, November 12). The Impact of Understanding Social Media Content on Improving Performance during the Hajj Season, a Twitter Case Study for the Hajj Season 1436 AH. In Proceedings of the 17th Scientific Forum for the Research of Hajj, Umrah and Madinah Visit. Available online: https:\/\/drive.uqu.edu.sa\/_\/hajj\/files\/multaqa\/143817.pdf."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"100001","DOI":"10.1016\/j.jer.2023.100001","article-title":"Coronavirus Impact on Human Feelings During 2021 Hajj Season via Deep Learning Critical Twitter Analysis","volume":"11","author":"Gutub","year":"2023","journal-title":"J. Eng. Res."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"11945","DOI":"10.48084\/etasr.6347","article-title":"Arabic Sentiment Analysis for Student Evaluation using Machine Learning and the AraBERT Transformer","volume":"13","author":"Alamoudi","year":"2023","journal-title":"Eng. Technol. Appl. Sci. Res."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"02008","DOI":"10.1051\/itmconf\/20235202008","article-title":"Using AraGPT and ensemble deep learning model for sentiment analysis on Arabic imbalanced dataset","volume":"52","author":"Habbat","year":"2023","journal-title":"ITM Web Conf."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"177","DOI":"10.1016\/j.aej.2023.06.082","article-title":"Active learning for Arabic sentiment analysis","volume":"77","author":"Kaseb","year":"2023","journal-title":"Alexandria Eng. J."},{"key":"ref_41","first-page":"77","article-title":"A combined Bi-LSTM-GPT Model for Arabic Sentiment Analysis","volume":"11","year":"2023","journal-title":"Int. J. Intell. Syst. Appl. Eng."},{"key":"ref_42","unstructured":"Binmahfoudh, A. (2023). Improved Deep Learning Sentiment Analysis for Arabic. J. Theor. Appl. Inf. Technol., 101, Available online: https:\/\/www.kaggle.com\/c\/."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Louati, A., Louati, H., Kariri, E., Alaskar, F., and Alotaibi, A. (2023). Sentiment Analysis of Arabic Course Reviews of a Saudi University Using Support Vector Machine. Appl. Sci., 13.","DOI":"10.3390\/app132312539"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Musleh, D.A., Alkhwaja, I., Alkhwaja, A., Alghamdi, M., Abahussain, H., Alfawaz, F., Min-Allah, N., and Abdulqader, M.M. (2023). Arabic Sentiment Analysis of YouTube Comments: NLP-Based Machine Learning Approaches for Content Evaluation. Big Data Cogn. Comput., 7.","DOI":"10.3390\/bdcc7030127"},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"1253","DOI":"10.1007\/s13369-021-05838-7","article-title":"Progress of IoT Research Technologies and Applications Serving Hajj and Umrah","volume":"47","author":"Shambour","year":"2021","journal-title":"Arab. J. Sci. Eng."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"723","DOI":"10.1613\/jair.4272","article-title":"Sentiment Analysis of Short Informal Texts","volume":"50","author":"Kiritchenko","year":"2014","journal-title":"J. Artif. Intell. Res."},{"key":"ref_47","unstructured":"Mohammad, S.M., Kiritchenko, S., and Zhu, X. (2013). Nrc-canada: Building the state- of-the-art in sentiment analysis of tweets. arXiv."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Alayba, A., Palade, V., England, M., and Iqbal, R. (2017, January 3\u20135). Arabic language sentiment analysis on health services. Proceedings of the 1st International Workshop on Arabic Script Analysis and Recognition (ASAR), Nancy, France.","DOI":"10.1109\/ASAR.2017.8067771"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Alghamdi, H.M., and Selamat, A. (2012, January 2\u20134). Topic detections in Arabic Dark websites using improved Vector Space Model. Proceedings of the 2012 4th Conference on Data Mining and Optimization (DMO), Langkawi, Malaysia.","DOI":"10.1109\/DMO.2012.6329790"},{"key":"ref_50","first-page":"29","article-title":"Latent Topic Model for Indexing Arabic Documents","volume":"4","author":"Ayadi","year":"2014","journal-title":"Int. J. Inf. Retr. Res."},{"key":"ref_51","doi-asserted-by":"crossref","unstructured":"Shoukry, A. (2013). Arabic Sentence-Level Sentiment Analysis. The American University in Fountain. [Master\u2019s Thesis, American University in Cairo].","DOI":"10.1109\/CTS.2012.6261103"}],"container-title":["Big Data and Cognitive Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2504-2289\/8\/1\/5\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T13:38:18Z","timestamp":1760103498000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2504-2289\/8\/1\/5"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,2]]},"references-count":51,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2024,1]]}},"alternative-id":["bdcc8010005"],"URL":"https:\/\/doi.org\/10.3390\/bdcc8010005","relation":{},"ISSN":["2504-2289"],"issn-type":[{"value":"2504-2289","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,2]]}}}