Applying Artificial Intelligence to Analyze Emotions in Social Media Comments using Large Language Models

Advancements in Large Language Models (LLMs) have opened new opportunities for emotion analysis in social media comments. This study aims to explore the application of LLMs in classifying users' emotions based on their comment texts across various social media platforms. The methodology involve...

Full description

Saved in:
Bibliographic Details
Main Authors: Sarah Astiti, Iswandi Iswandi, Tomy Nanda Putra, Darmansah Darmansah
Format: Article
Language:Indonesian
Published: Islamic University of Indragiri 2025-05-01
Series:Sistemasi: Jurnal Sistem Informasi
Subjects:
Online Access:https://sistemasi.ftik.unisi.ac.id/index.php/stmsi/article/view/5187
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Advancements in Large Language Models (LLMs) have opened new opportunities for emotion analysis in social media comments. This study aims to explore the application of LLMs in classifying users' emotions based on their comment texts across various social media platforms. The methodology involves collecting comment data from Twitter, Facebook, and YouTube, followed by text preprocessing using Natural Language Processing (NLP) techniques. LLMs such as GPT and BERT are evaluated for their ability to detect primary emotions including happiness, sadness, anger, and fear. The results show a precision of 0.89 (89%), recall of 0.80 (80%), and an F1-score of 0.84 (84%). These findings indicate that LLMs offer higher accuracy compared to conventional sentiment analysis methods, particularly in their ability to understand linguistic context and nuances.
ISSN:2302-8149
2540-9719