Beyond the stars: predicting guest satisfaction through NLP and machine learning of hotel reviews

Purpose This study aims to present a framework for applying natural language processing techniques to analyze and classify hotel customer reviews. Design/methodology/approach Using a data set of over 500,000 hotel reviews, a supervised machine learning model is developed to predict whether a review is good or bad based on its textual content. The approach involved a comprehensive data preprocessing pipeline, including tokenization, stop-word removal and lemmatization. For feature engineering, a combination of sentiment analysis scores (using valence-aware dictionary and sentiment reasoner), basic text metrics and advanced text vectorization techniques is integrated such as Doc2Vec and TF-IDF. Findings Given the significant class imbalance in the data set, with a very low percentage of negative reviews, the model performance is rigorously evaluated using the precision–recall curve and the average precision (AP) metric, which are better suited for such scenarios than the traditional receiver operating characteristic curve. The final model, a random forest classifier, achieved an AP of 0.37, demonstrating its effectiveness in identifying the minority class of negative reviews. The results indicate that sentiment analysis features are the most influential in predicting reviewer satisfaction. Practical implications The framework created allows recognizing negative reviews in time to take action to facilitate immediate service recovery and proactive reputation management. The model can be applicable on a strategic level to uncover recurring operational issues, track customer satisfaction trends and derive marketing insights used in the reviews. Originality/value This paper provides a foundation for developing automated systems that enable hotels to better understand and respond to customer feedback in real time.

Authors

Institutions

Publication Details

Journal
Journal of Hospitality and Tourism Technology
Published
2026-03-28
DOI
https://doi.org/10.1108/jhtt-09-2025-0771
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

Beyond the stars: predicting guest satisfaction through NLP and machine learning of hotel reviews

Amr Mohamed Fouad, Eslam Ahmed Fathy, Wessam M. Salama
Journal of Hospitality and Tourism Technology
Sentiment Analysis and Opinion Mining
article

Beyond the stars: predicting guest satisfaction through NLP and machine learning of hotel reviews

Amr Mohamed Fouad, Eslam Ahmed Fathy, Wessam M. Salama
article en

Abstract

Purpose This study aims to present a framework for applying natural language processing techniques to analyze and classify hotel customer reviews. Design/methodology/approach Using a data set of over 500,000 hotel reviews, a supervised machine learning model is developed to predict whether a review is good or bad based on its textual content. The approach involved a comprehensive data preprocessing pipeline, including tokenization, stop-word removal and lemmatization. For feature engineering, a combination of sentiment analysis scores (using valence-aware dictionary and sentiment reasoner), basic text metrics and advanced text vectorization techniques is integrated such as Doc2Vec and TF-IDF. Findings Given the significant class imbalance in the data set, with a very low percentage of negative reviews, the model performance is rigorously evaluated using the precision–recall curve and the average precision (AP) metric, which are better suited for such scenarios than the traditional receiver operating characteristic curve. The final model, a random forest classifier, achieved an AP of 0.37, demonstrating its effectiveness in identifying the minority class of negative reviews. The results indicate that sentiment analysis features are the most influential in predicting reviewer satisfaction. Practical implications The framework created allows recognizing negative reviews in time to take action to facilitate immediate service recovery and proactive reputation management. The model can be applicable on a strategic level to uncover recurring operational issues, track customer satisfaction trends and derive marketing insights used in the reviews. Originality/value This paper provides a foundation for developing automated systems that enable hotels to better understand and respond to customer feedback in real time.

Journal of Hospitality and Tourism Technology
Pharos University in Alexandria (EG), Higher Institute for Tourism, Hotels and Computer (EG), University of Tabuk (SA)
Openalex Percentile: Top 5%
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.