AI-Driven Framework for Location-Aware Sentiment Analysis and Topic Classification of Public Social Media Data in West Malaysia

While social media has facilitated communication, it has also amplified collective attitudes, often leading to polarized opinions and negative emotional expressions that can disrupt social harmony. Consequently, monitoring public sentiments on social media, and identifying thematic trends across regions has become crucial for understanding collective emotions and opinions. Despite advancements in sentiment analysis and topic classification, very little research has been done to integrate geospatial analysis with these techniques, limiting their ability to provide location-aware insights into public sentiments and discussion trends. This study develops an AI-driven framework that leverages social media data to analyze public sentiments and classify discussions into relevant topics. Specifically, this research focuses on understanding the emotions and conversations of Peninsular Malaysia citizens using a self-collected dataset of public Facebook posts, analyzed at the state level to provide location-aware insights. Using VADER for sentiment analysis and zero-shot transformer for topic classification, this study categorizes posts into five predefined topics: politics, religion, tragedy, tourism, and food. The proposed architecture achieves a sentiment classification accuracy of 97% and a topic classification accuracy of 89%. Findings reveal that the Peninsular Malaysian population generally maintains a positive online environment, though some states showed a dominant negative sentiment. Patterns of dissatisfaction were largely related to political issues and local incidents, while positive emotions were primarily associated with tourism, religious festivities, and food-related news. This research not only identifies areas with dissatisfied publics but also explores the topics contributing to this sentiment. By emphasizing location-aware sentiment and topic trends, this framework offers insights to help policymakers and sociologists address region-specific issues, potentially reducing dissatisfaction and fostering a more harmonious society.

Authors

Institutions

Publication Details

Journal
International Journal of Engineering Science and Information Technology
Published
2025-07-26
DOI
https://doi.org/10.52088/ijesty.v5i4.926
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Driven Framework for Location-Aware Sentiment Analysis and Topic Classification of Public Social Media Data in West Malaysia

Azeem Khan, Noor Zaman Jhanjhi, Farzeen Ashfaq, Amna Faisal et al.
International Journal of Engineering Science and Information Technology
Sentiment Analysis and Opinion Mining
article

AI-Driven Framework for Location-Aware Sentiment Analysis and Topic Classification of Public Social Media Data in West Malaysia

Azeem Khan, Noor Zaman Jhanjhi, Farzeen Ashfaq, Amna Faisal, Husham M. Ahmed
article en

Abstract

While social media has facilitated communication, it has also amplified collective attitudes, often leading to polarized opinions and negative emotional expressions that can disrupt social harmony. Consequently, monitoring public sentiments on social media, and identifying thematic trends across regions has become crucial for understanding collective emotions and opinions. Despite advancements in sentiment analysis and topic classification, very little research has been done to integrate geospatial analysis with these techniques, limiting their ability to provide location-aware insights into public sentiments and discussion trends. This study develops an AI-driven framework that leverages social media data to analyze public sentiments and classify discussions into relevant topics. Specifically, this research focuses on understanding the emotions and conversations of Peninsular Malaysia citizens using a self-collected dataset of public Facebook posts, analyzed at the state level to provide location-aware insights. Using VADER for sentiment analysis and zero-shot transformer for topic classification, this study categorizes posts into five predefined topics: politics, religion, tragedy, tourism, and food. The proposed architecture achieves a sentiment classification accuracy of 97% and a topic classification accuracy of 89%. Findings reveal that the Peninsular Malaysian population generally maintains a positive online environment, though some states showed a dominant negative sentiment. Patterns of dissatisfaction were largely related to political issues and local incidents, while positive emotions were primarily associated with tourism, religious festivities, and food-related news. This research not only identifies areas with dissatisfied publics but also explores the topics contributing to this sentiment. By emphasizing location-aware sentiment and topic trends, this framework offers insights to help policymakers and sociologists address region-specific issues, potentially reducing dissatisfaction and fostering a more harmonious society.

International Journal of Engineering Science and Information TechnologyVol. 5(4)
Sultan Sharif Ali Islamic University (BN), Taylor's University (MY), University College of Bahrain (BH)
Openalex Percentile: Top 91%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.