Scientific Reports (Oct 2024)

Analyzing hope speech from psycholinguistic and emotional perspectives

  • Muhammad Arif,
  • Moein Shahiki Tash,
  • Ainaz Jamshidi,
  • Fida Ullah,
  • Iqra Ameer,
  • Jugal Kalita,
  • Alexander Gelbukh,
  • Fazlourrahman Balouchzahi

DOI
https://doi.org/10.1038/s41598-024-74630-y
Journal volume & issue
Vol. 14, no. 1
pp. 1 – 18

Abstract

Read online

Abstract Hope is a vital coping mechanism, enabling individuals to effectively confront life’s challenges. This study proposes a technique employing Natural Language Processing (NLP) tools like Linguistic Inquiry and Word Count (LIWC), NRC-emotion-lexicon, and vaderSentiment to analyze social media posts, extracting psycholinguistic, emotional, and sentimental features from a hope speech dataset. The findings of this study reveal distinct cognitive, emotional, and communicative characteristics and psycholinguistic dimensions, emotions, and sentiments associated with different types of hope shared in social media. Furthermore, the study investigates the potential of leveraging this data to classify different types of hope using machine learning algorithms. Notably, models such as LightGBM and CatBoost demonstrate impressive performance, surpassing traditional methods and competing effectively with deep learning techniques. We employed hyperparameter tuning to optimize the models’ parameters and compared their performance using both default and tuned settings. The results highlight the enhanced efficiency achieved through hyperparameter tuning for these models.