Sentiment-Based Rating Prediction Using AFINN Lexicon: Insights for Product Promotion in Digital Marketing Analytics

The tourism and hospitality industry significantly impacts the global economy in the big data era, highlighting the role of technological advances, especially in social media, in shaping visitor preferences and behavior. This research focuses on how sentiment analysis is assisted by the Natural Language Processing (NLP) word embedding model and TF-IDF (Term Fre-quency-Inverse Document Frequency) to increase prediction accuracy. The dataset used is tourism data in the hospitality sector. Then it is categorized as positive or negative accurately according to customer preferences, contributing to research in developing smart tourism and improving tourism infrastructure. The evaluation results show that the sentiment analysis prediction model implementing TF-IDF, which was trained using a dataset of 515,212 reviews from users in tourism and hospitality, performs well, reaching an accuracy of 91%. Visualization and sentiment prediction results are carried out using Python.

Authors

Institutions

Publication Details

Journal
Nusantara Science and Technology Proceedings
Published
2025-09-21
DOI
https://doi.org/10.11594/nstp.2025.5014
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

Sentiment-Based Rating Prediction Using AFINN Lexicon: Insights for Product Promotion in Digital Marketing Analytics

Hartatik Hartatik
Nusantara Science and Technology Proceedings
Sentiment Analysis and Opinion Mining
article

Sentiment-Based Rating Prediction Using AFINN Lexicon: Insights for Product Promotion in Digital Marketing Analytics

Hartatik Hartatik
article en

Abstract

The tourism and hospitality industry significantly impacts the global economy in the big data era, highlighting the role of technological advances, especially in social media, in shaping visitor preferences and behavior. This research focuses on how sentiment analysis is assisted by the Natural Language Processing (NLP) word embedding model and TF-IDF (Term Fre-quency-Inverse Document Frequency) to increase prediction accuracy. The dataset used is tourism data in the hospitality sector. Then it is categorized as positive or negative accurately according to customer preferences, contributing to research in developing smart tourism and improving tourism infrastructure. The evaluation results show that the sentiment analysis prediction model implementing TF-IDF, which was trained using a dataset of 515,212 reviews from users in tourism and hospitality, performs well, reaching an accuracy of 91%. Visualization and sentiment prediction results are carried out using Python.

Nusantara Science and Technology Proceedings
Sebelas Maret University (ID)
Openalex Percentile: Top 87%
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.

Sentiment-Based Rating Prediction Using AFINN Lexicon: Insights for Product Promotion in Digital Marketing Analytics — Hartatik Hartatik · Nusantara Science and Technology Proceedings (2025) | TGRS Research Map | TGRS