Multilingual identification of nuanced dimensions of hope speech in social media texts
- PMID: 40702008
- PMCID: PMC12287450
- DOI: 10.1038/s41598-025-10683-x
Multilingual identification of nuanced dimensions of hope speech in social media texts
Abstract
Hope plays a crucial role in human psychology and well-being, yet its expression and detection across languages remain underexplored in natural language processing (NLP). This study presents MIND-HOPE, the first-ever multiclass hope speech detection datasets for Spanish and German, collected from Twitter. The annotated dataset comprise 19,183 Spanish tweets and 21,043 German tweets, categorized into four classes: Generalized Hope, Realistic Hope, Unrealistic Hope, and Not Hope. The paper also provides a comprehensive review of existing hope speech datasets and detection techniques, and conducts a comparative evaluation of traditional machine learning, deep learning, and transformer-based approaches. Experimental results, obtained using 5-fold cross-validation, show that monolingual transformer models (e.g., bert-base-german-dbmdz-uncased and bert-base-spanish-wwm-uncased) consistently outperform multilingual models (e.g., mBERT, XLM-RoBERTa) in both binary and multiclass hope detection tasks. These findings underscore the value of language-specific fine-tuning for nuanced affective computing tasks. This study advances sentiment analysis by addressing a novel and underrepresented affective dimension-hope, and proposes robust multilingual benchmarks for future research. Theoretically, it contributes to a deeper understanding of hope as a complex emotional state with practical implications for mental health monitoring, social well-being analysis, and positive content recommendation in online spaces. By modeling hope across languages and categories, this research opens new directions in affective NLP and cross-cultural computational social science.
© 2025. The Author(s).
Conflict of interest statement
Declarations. Competing interests: The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Figures
Similar articles
-
Prompt-based fine-tuning with multilingual transformers for language-independent sentiment analysis.Sci Rep. 2025 Jul 1;15(1):20834. doi: 10.1038/s41598-025-03559-7. Sci Rep. 2025. PMID: 40595680 Free PMC article.
-
Trajectory-Ordered Objectives for Self-Supervised Representation Learning of Temporal Healthcare Data Using Transformers: Model Development and Evaluation Study.JMIR Med Inform. 2025 Jun 4;13:e68138. doi: 10.2196/68138. JMIR Med Inform. 2025. PMID: 40465350 Free PMC article.
-
Multicriteria Optimization of Language Models for Heart Failure With Preserved Ejection Fraction Symptom Detection in Spanish Electronic Health Records: Comparative Modeling Study.J Med Internet Res. 2025 Jul 17;27:e76433. doi: 10.2196/76433. J Med Internet Res. 2025. PMID: 40674251 Free PMC article.
-
Machine Learning and Natural Language Processing in Mental Health: Systematic Review.J Med Internet Res. 2021 May 4;23(5):e15708. doi: 10.2196/15708. J Med Internet Res. 2021. PMID: 33944788 Free PMC article.
-
A Scoping Review of the Observed and Perceived Functional Impacts Associated With Language and Learning Disorders in School-Aged Children.Int J Lang Commun Disord. 2025 Jul-Aug;60(4):e70086. doi: 10.1111/1460-6984.70086. Int J Lang Commun Disord. 2025. PMID: 40653909 Free PMC article.
References
-
- Schornick, Z., Ellis, N., Ray, E., Snyder, B.-J. & Thomas, K. Hope that benefits others: A systematic literature review of hope theory and prosocial outcomes. Int. J. Appl. Posit. Psychol.8, 37–61 (2023).
-
- Snyder, C. R. Hope theory: Rainbows in the mind. Psychol. Inq.13, 249–275 (2002).
-
- Ezzy, D. Illness narratives: Time, hope and HIV. Soc. Sci. Med.50, 605–617 (2000). - PubMed
-
- Lohne, V. & Severinsson, E. Hope during the first months after acute spinal cord injury. J. Adv. Nurs.47, 279–286 (2004). - PubMed
-
- Wiles, R., Cott, C. & Gibson, B. E. Hope, expectations and recovery from illness: A narrative synthesis of qualitative research. J. Adv. Nurs.64, 564–573 (2008). - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources