JAMIA open

Use of chat GPT for sentiment and readability analysis of nutrition articles in legacy media.

Ann Gaba, Safa Amir, Haley Liebman, Nevin Cohen, Steven Cordova, Sergio Costa, Ashish Joshi

Department of Environmental, Occupational, and Geospatial Health Sciences, Graduate School of Public Health and Health Policy, City University of New York, New York, NY 10027, United States. · Department of Epidemiology and Biostatistics, Graduate School of Public Health and Health Policy, City University of New York, New York, NY 10027, United States.

Key points

From the paper's conclusion
  • This study demonstrated that AI such as ChatGPT can be utilized as a for assessment of sentiment and reading levels in nutrition articles.

Abstract

OBJECTIVES: Artificial intelligence (AI) can be used to measure sentiment and reading level, facilitating its use to improve nutrition communication, though AI has not yet been tested for such analysis of nutrition articles. The present study investigated this by looking at reading level and sentiment in magazines aimed at various demographics as determined with ChatGPT. MATERIALS AND METHODS: Sentiment analysis was conducted on a sample of articles about nutrition from legacy media collected over 1 year. Reading level of the articles was determined using the Simple Measure of Gobbledygook (SMOG) formula. Nutrition content sub-themes were examined for reading level and sentiment. RESULTS: Average sentiment ratings remained close to neutral (mean = 0.26 ± 2.05), with no consistent changes over time. Articles written at higher reading levels showed more positive sentiment values than those at lower reading levels. Of the twelve nutrition sub-themes were identified, the most prevalent were food/diet recommendations for health (23.8%), articles about celebrity diets (15.6%), cooking and culinary articles (14.1%), and food insecurity (10.7%). Comparison of sub-samples of sentiment ratings or Simple Measure of Gobbledygook (SMOG) scores done by a human coder versus ChatGPT were not different (P = NS). DISCUSSION: Reading levels are relatively high overall. These varied by source periodical and theme as would be expected with editors targeting varied readership groups. Analysis by nutrition themes showed differences in sentiment that were concurrent with the type of content analyzed. CONCLUSION: This study demonstrated that AI such as ChatGPT can be utilized as a for assessment of sentiment and reading levels in nutrition articles.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Use of chat GPT for sentiment and readability analysis of nutrition articles in legacy media — Science Skim