EUVIMEDEUVIMED entdecken
Open Access

Using Natural Language Processing to Explore Social Media Opinions on Food Security: Sentiment Analysis and Topic Modeling Study

Annika Molenaar iD, Dickson Lukose iD, Linda Brennan iD, Eva L Jenkins iD, Tracy A McCaffrey iD

Journal of Medical Internet Research · 21.03.2024 · 26 · e47826

DOI: 10.2196/47826 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Medical Internet Research, online erschienen am 21.03.2024. Verfasst von Annika Molenaar und 4 weiteren Autor:innen. Beteiligte Einrichtung: Department of Nutrition, Dietetics and Food, Monash University, Notting Hill, Australia. Hauptthemen laut MEDLINE: Social Media, COVID-19. Die Arbeit wurde bisher 52-mal zitiert (Crossref) und nennt 100 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

Social media has the potential to be of great value in understanding patterns in public health using large-scale analysis approaches (eg, data science and natural language processing [NLP]), 2 of which have been used in public health: sentiment analysis and topic modeling; however, their use in the area of food security and public health nutrition is limited.

Objective

This study aims to explore the potential use of NLP tools to gather insights from real-world social media data on the public health issue of food security.

Methods

A search strategy for obtaining tweets was developed using food security terms. Tweets were collected using the Twitter application programming interface from January 1, 2019, to December 31, 2021, filtered for Australia-based users only. Sentiment analysis of the tweets was performed using the Valence Aware Dictionary and Sentiment Reasoner. Topic modeling exploring the content of tweets was conducted using latent Dirichlet allocation with BigML (BigML, Inc). Sentiment, topic, and engagement (the sum of likes, retweets, quotations, and replies) were compared across years.

Results

In total, 38,070 tweets were collected from 14,880 Twitter users. Overall, the sentiment when discussing food security was positive, although this varied across the 3 years. Positive sentiment remained higher during the COVID-19 lockdown periods in Australia. The topic model contained 10 topics (in order from highest to lowest probability in the data set): “Global production,” “Food insecurity and health,” “Use of food banks,” “Giving to food banks,” “Family poverty,” “Food relief provision,” “Global food insecurity,” “Climate change,” “Australian food insecurity,” and “Human rights.” The topic “Giving to food banks,” which focused on support and donation, had the highest proportion of positive sentiment, and “Global food insecurity,” which covered food insecurity prevalence worldwide, had the highest proportion of negative sentiment. When compared with news, there were some events, such as COVID-19 support payment introduction and bushfires across Australia, that were associated with high periods of positive or negative sentiment. Topics related to food insecurity prevalence, poverty, and food relief in Australia were not consistently more prominent during the COVID-19 pandemic than before the pandemic. Negative tweets received substantially higher engagement across 2019 and 2020. There was no clear relationship between topics that were more likely to be positive or negative and have higher or lower engagement, indicating that the identified topics are discrete issues.

Conclusions

In this study, we demonstrated the potential use of sentiment analysis and topic modeling to explore evolution in conversations on food security using social media data. Future use of NLP in food security requires the context of and interpretation by public health experts and the use of broader data sets, with the potential to track dimensions or events related to food security to inform evidence-based decision-making in this area.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

Social MediaCOVID-19HumansSentiment AnalysisNatural Language ProcessingPandemicsAustraliaAttitude

Stichwörter der Autor:innen

food insecurityfood securityinfodemiologynatural language processingpublic healthsentiment analysistopic modeling

Autor:innen und Institutionen

  • Department of Nutrition, Dietetics and Food, Monash University, Notting Hill, Australia.
  • Tabcorp Holdings Ltd, Melbourne, Australia.
  • School of Media and Communication, RMIT University, Melbourne, Australia.

ORCID-Profile: Annika Molenaar, Dickson Lukose, Linda Brennan, Eva L Jenkins, Tracy A McCaffrey

Zitieren

APA

Molenaar, A., Lukose, D., Brennan, L., Jenkins, E. L., & McCaffrey, T. A. (2024). Using Natural Language Processing to Explore Social Media Opinions on Food Security: Sentiment Analysis and Topic Modeling Study. Journal of Medical Internet Research, 26, e47826. https://doi.org/10.2196/47826

Vancouver

Molenaar A, Lukose D, Brennan L, Jenkins EL, McCaffrey TA. Using Natural Language Processing to Explore Social Media Opinions on Food Security: Sentiment Analysis and Topic Modeling Study. Journal of Medical Internet Research. 2024;26:e47826. doi:10.2196/47826

BibTeX
@article{Molenaar2024,
  author = {Molenaar, Annika and Lukose, Dickson and Brennan, Linda and Jenkins, Eva L and McCaffrey, Tracy A},
  title = {Using Natural Language Processing to Explore Social Media Opinions on Food Security: Sentiment Analysis and Topic Modeling Study},
  journal = {Journal of Medical Internet Research},
  year = {2024},
  volume = {26},
  pages = {e47826},
  doi = {10.2196/47826}
}
Kostenlos starten →