Know an Emotion by the Company It Keeps: Word Embeddings from Reddit/Coronavirus
Open Access
- 31 May 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (11) , 6713
Abstract
Social media is a crucial communication tool (e.g., with 430 million monthly active users in online forums such as Reddit), being an objective of Natural Language Processing (NLP) techniques. One of them (word embeddings) is based on the quotation, “You shall know a word by the company it keeps,” highlighting the importance of context in NLP. Meanwhile, “Context is everything in Emotion Research.” Therefore, we aimed to train a model (W2V) for generating word associations (also known as embeddings) using a popular Coronavirus Reddit forum, validate them using public evidence and apply them to the discovery of context for specific emotions previously reported as related to psychological resilience. We used Pushshiftr, quanteda, broom, wordVectors, and superheat R packages. We collected all 374,421 posts submitted by 104,351 users to Reddit/Coronavirus forum between January 2020 and July 2021. W2V identified 64 terms representing the context for seven positive emotions (gratitude, compassion, love, relief, hope, calm, and admiration) and 52 terms for seven negative emotions (anger, loneliness, boredom, fear, anxiety, confusion, sadness) all from valid experienced situations. We clustered them visually, highlighting contextual similarity. Although trained on a “small” dataset, W2V can be used for context discovery to expand on concepts such as psychological resilience.Keywords
Funding Information
- PRECISE4Q Personalized Medicine by Predictive Modelling in Stroke for Better Quality of Life—European Union’s Horizon 2020 research and innovation program (777107)
This publication has 96 references indexed in Scilit:
- tidytext: Text Mining and Analysis Using Tidy Data Principles in RJournal of Open Source Software, 2016
- You Are What You Tweet: Connecting the Geographic Variation in America’s Obesity Rate to Twitter ContentPLOS ONE, 2015
- Ontology Matching with Word EmbeddingsLecture Notes in Computer Science, 2014
- Understanding resilienceFrontiers in Behavioral Neuroscience, 2013
- Annual Research Review: What is resilience within the social ecology of human development?Journal of Child Psychology and Psychiatry, 2012
- Resilience as a dynamic conceptDevelopment and Psychopathology, 2012
- APA's resilience initiative.Professional Psychology: Research and Practice, 2005
- Category norms: An updated and expanded version of the Battig and Montague (1969) normsJournal of Memory and Language, 2004
- Silhouettes: A graphical aid to the interpretation and validation of cluster analysisJournal of Computational and Applied Mathematics, 1987
- Category norms of verbal items in 56 categories A replication and extension of the Connecticut category norms.Journal of Experimental Psychology, 1969