IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v17y2025i9p3864-d1642014.html
   My bibliography  Save this article

Social Media Sentiment Analysis for Sustainable Rural Event Planning: A Case Study of Agricultural Festivals in Al-Baha, Saudi Arabia

Author

Listed:
  • Musaad Alzahrani

    (Faculty of Computing and Information, Al-Baha University, Al-Baha P.O. Box 1988, Saudi Arabia)

  • Fahad AlGhamdi

    (Faculty of Computing and Information, Al-Baha University, Al-Baha P.O. Box 1988, Saudi Arabia)

Abstract

Agricultural festivals play a vital role in promoting sustainable farming, local economies, and cultural heritage. Understanding public sentiment toward these events can provide valuable insights to enhance event organization, marketing strategies, and economic sustainability. In this study, we collected and analyzed social media data from Twitter to evaluate public perceptions of Al-Baha’s agricultural festivals. Sentiment analysis was performed using both traditional machine learning and deep learning approaches. Specifically, six machine learning models including Multinomial Naïve Bayes (MNB), Support Vector Machine (SVM), Logistic Regression (LR), Random Forest (RF), k-Nearest Neighbors (KNN), and XGBoost (XGB) were compared against AraBERT, a transformer-based deep learning model. Each model was evaluated based on accuracy, precision, recall, and F1-score. The results demonstrated that AraBERT achieved the highest performance across all metrics, with an accuracy of 85%, confirming its superiority in Arabic sentiment classification. Among traditional models, SVM and RF performed best, whereas MNB and KNN struggled with sentiment detection. These findings highlight the role of sentiment analysis in supporting sustainable agricultural and tourism initiatives. The insights gained from sentiment trends can help festival organizers, policymakers, and agricultural stakeholders make data-driven decisions to enhance sustainable event planning, optimize resource allocation, and improve marketing strategies in line with the Sustainable Development Goals (SDGs).

Suggested Citation

  • Musaad Alzahrani & Fahad AlGhamdi, 2025. "Social Media Sentiment Analysis for Sustainable Rural Event Planning: A Case Study of Agricultural Festivals in Al-Baha, Saudi Arabia," Sustainability, MDPI, vol. 17(9), pages 1-16, April.
  • Handle: RePEc:gam:jsusta:v:17:y:2025:i:9:p:3864-:d:1642014
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/17/9/3864/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/17/9/3864/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Zheng Cao & Heng Xu & Brian Sheng-Xian Teo, 2023. "Sentiment of Chinese Tourists towards Malaysia Cultural Heritage Based on Online Travel Reviews," Sustainability, MDPI, vol. 15(4), pages 1-17, February.
    2. Devbrat Gupta & Anuja Bhargava & Diwakar Agarwal & Mohammed H. Alsharif & Peerapong Uthansakul & Monthippa Uthansakul & Ayman A. Aly, 2024. "Deep Learning-Based Truthful and Deceptive Hotel Reviews," Sustainability, MDPI, vol. 16(11), pages 1-17, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fathe Jeribi & Shaik Rafi Ahamed & Uma Perumal & Mohammed Hameed Alhameed & Manjunatha Chari Kamsali, 2023. "Developing an MQ-LSTM-Based Cultural Tourism Accelerator with Database Security," Sustainability, MDPI, vol. 15(23), pages 1-20, November.
    2. Yue Cheng & Weizhen Chen, 2025. "Cultural Perception of Tourism Heritage Landscapes via Multi-Label Deep Learning: A Study of Jingdezhen, the Porcelain Capital," Land, MDPI, vol. 14(3), pages 1-29, March.
    3. Tingxin Wen & Xinyu Xu, 2024. "Research on Image Perception of Tourist Destinations Based on the BERT-BiLSTM-CNN-Attention Model," Sustainability, MDPI, vol. 16(8), pages 1-21, April.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:17:y:2025:i:9:p:3864-:d:1642014. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.