Sentiment Analysis of Hotel Reviews in Senggigi using Decision Tree and Support Vector Machine Algorithm

Lalu Muhammad Reza Suganda Putra, Heri Wijayanto, I Gede Putu Wirarama Wedashwara

Abstract


The tourism industry is a rapidly growing sector that significantly contributes to the economy, including Indonesia. One of the popular tourist destinations in Indonesia is Senggigi, located on the island of Lombok. This destination offers high natural and cultural appeal. In the tourism industry, hotels are crucial as primary accommodations for travelers to stay and rest. Tourist reviews on hotel services greatly influence potential visitor’s decisions in selecting the right accommodation. Therefore, sentiment analysis of hotel reviews is essential for understanding customer satisfaction levels and assisting hotel managers in improving service quality. This research applies a comparative quantitative approach using Decision Tree and Support Vector Machine (SVM) algorithms. The dataset consists of 6,920 hotel reviews collected from TripAdvisor platforms through web scraping techniques. Data preprocessing included data cleaning, case folding, tokenization, stop word removal, and stemming to enhance classification performance. Sentiment labels were categorized into positive, neutral, and negative classes. Model performance was evaluated using multiple metrics, including accuracy, precision, recall, and F1-score, to ensure a comprehensive assessment. The word frequency distribution reveals that that accommodation experience and room quality play a crucial role in customer satisfaction. Positive sentiment is dominated by adjectives like great, nice, and beautiful, reflecting pleasant experiences. Negative sentiment is expressed more politely through phrases such as not good or not very nice. Neutral sentiment tends to be descriptive without strong emotional expression. In terms of model performance, SVM outperformed the Decision Tree model, achieving an accuracy of 90%, precision of 91%, recall of 90%, and an F1-score of 85%. In comparison, the Decision Tree achieved an accuracy of 87%, precision of 84%, recall of 87%, and an F1-score of 85%. These findings demonstrate the superior capability of SVM in handling complex and diverse textual data. This study contributes academically by strengthening empirical evidence on the effectiveness of machine learning–based sentiment analysis in the tourism domain and practically by providing actionable insights for hotel managers to improve service quality and customer satisfaction.

Keywords


Sentiment Analysis; Hotel Reviews; Senggigi; Decision Tree; Support Vector Machine.

Full Text:

DOWNLOAD [PDF]

References


An, Q., & Ozturk, A. B. (2022). Assessing the Effects of User-Generated Photos on hotel Guests’ Price, Service Quality, Overall Image Perceptions and Booking Intention. Journal of Hospitality and Tourism Technology, 13(4), 608–625. https://doi.org/10.1108/JHTT-05-2021-0146

Arifin, R., & Purnama, D. A. (2023). Identifying customer preferences on two competitive startupproducts: An analysis of sentiment expressions and textmining from Twitter data. Jurnal Infotel, 15(1), 66–74. https://doi.org/10.20895/infotel.v15i1.906

Arifudin, R., Indra Wijaya, D., Warsito, B., & Wibowo, A. (2023). Voting Classifier Technique and Count Vectorizer with N-gram to Identify Hate Speech and Abusive Tweets in Indonesian. Scientific Journal of Informatics, 10(4), 469. https://doi.org/10.15294/sji.v10i4.46633

Burhanudin, B. (2024). Managing social commerce: does customer review quality matter? Procedia Computer Science, 234, 1459–1466. https://doi.org/10.1016/j.procs.2024.03.146

Cam, H., Cam, A. V., Demirel, U., & Ahmed, S. (2024). Sentiment analysis of financial Twitter posts on Twitter with the machine learning classifiers. Heliyon, 10(1), e23784. https://doi.org/10.1016/j.heliyon.2023.e23784

Chandra, R., Zhu, B., Fang, Q., & Shinjikashvili, E. (2024). Large language models for sentiment analysis of newspaper articles during COVID-19: The Guardian. Applied Soft Computing, 171(October 2024), 112743. https://doi.org/10.1016/j.asoc.2025.112743

Chi, D., Huang, T., Jia, Z., & Zhang, S. (2025). Research on sentiment analysis of hotel review text based on BERT-TCN-BiLSTM-attention model. Array Journal, 25(1), 1–10. https://doi.org/10.1016/j.array.2025.100378

D. Deepthi, Kamineni B. T. Sundari, B. Satish BABU, K.Thrilochana, A.Mahalakshmi, & Sneha.H.Dhoria. (2025). Leveraging Count Vectorizer For Job Title Prediction: A Comparative Study Of Machine Learning Algorithms. Journal of Theoretical and Applied Information Technology, 15(5), 1781–1794. http://www.jatit.org/volumes/Vol103No5/12Vol103No5.pdf

Deepthi, S., & Shariff, D. (2024). Role Of Hotel Industry In Tourism Development. Educational Administration: Theory and Practice, 30(5), 10088–10091. https://doi.org/10.53555/kuey.v30i5.4347

Fakhrezi, M. F., Adian Fatchur Rochim, & Dinar Mutiara Kusomo Nugraheni. (2023). Comparison of Sentiment Analysis Methods Based on Accuracy Value Case Study: Twitter Mentions of Academic Article. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 7(1), 161–167. https://doi.org/10.29207/resti.v7i1.4767

Goyal, R. (2021). Evaluation of rule-based, CountVectorizer, and Word2Vec machine learning models for tweet analysis to improve disaster relief. 2021 IEEE Global Humanitarian Technology Conference (GHTC), 16–19. https://doi.org/10.1109/GHTC53159.2021.9612486

Hasibuan, I. M., Mutthaqin, S., Erianto, R., & Harahap, I. (2023). Contribution of the Tourism Sector to the National Economy. Jurnal Masharif Al-Syariah: Jurnal Ekonomi Dan Perbankan Syariah, 8(2), 1200–1217. https://doi.org/http://dx.doi.org/10.30651/jms.v8i2.19280

Haziq, M. R., Sibaroni, Y., & Prasetyowati, S. S. (2024). Word Embedding Optimization In Sentiment Analysis Of Reviews On Mytelkomsel App Using Long Short-Term Memory And Synthetic Minority Over-Sampling Technique. Jurnal Teknik Informatika (JUTIF), 5(6), 1581–1589. https://doi.org/10.52436/1.jutif.2024.5.6.2498

Hidayat, T. H. J., Ruldeviyani, Y., Aditama, A. R., Madya, G. R., Nugraha, A. W., & Adisaputra, M. W. (2021). Sentiment analysis of twitter data related to Rinca Island development using Doc2Vec and SVM and logistic regression as classifier. Procedia Computer Science, 197, 660–667. https://doi.org/10.1016/j.procs.2021.12.187

Islahuddin, Muhtasom, A., Masatip, A., & Herman, H. (2024). Enhancing Sustainable Marine Tourism: The Crucial Role of Environmental Conservation Programs in West Nusa Tenggara. Proceedings International Conference on Marine Tourism and Hospitality Studies, 1(1), 100–107. https://doi.org/10.33649/iconmths.v1i1.369

Jamal Ali, B., Gardi, B., Jabbar Othman, B., Ali Ahmed, S., Burhan Ismael, N., Abdalla Hamza, P., Mahmood Aziz, H., Yassin Sabir, B., Sorguli, S., & Anwar, G. (2021). Hotel Service Quality: The Impact of Service Quality on Customer Satisfaction in Hospitality. International Journal of Engineering, Business and Management (IJEBM), 5(3), 14–28. https://doi.org/10.22161/ijebm.5.3

Kusumaningrum, R., Nisa, I. Z., Jayanto, R., Nawangsari, R. P., & Wibowo, A. (2023). Deep learning-based application for multilevel sentiment analysis of Indonesian hotel reviews. Heliyon, 9(6), e17147. https://doi.org/10.1016/j.heliyon.2023.e17147

Lunkes, R. J., Codesso, M., da Rosa, F. S., Mendes, A. C., & Costa, G. D. (2025). How Managers’ Perceptions Of Online Reviews Enhance Digital Innovation in Hotels: The role of Technological Opportunism. International Journal of Hospitality Management, 133(2), 104416. https://doi.org/10.1016/j.ijhm.2025.104416

Nata, I. A., & Maarif, M. R. (2024). Understanding Customer Perception of Local Fashion Product on Online Marketplace through Content Analysis. Jurnal Infotel, 16(1), 58–70. https://doi.org/10.20895/infotel.v16i1.1070

Nurhaliza Agustina, C. A., Novita, R., Mustakim, & Rozanda, N. E. (2024). The Implementation of TF-IDF and Word2Vec on Booster Vaccine Sentiment Analysis Using Support Vector Machine Algorithm. Procedia Computer Science, 234, 156–163. https://doi.org/10.1016/j.procs.2024.02.162

Paneru, B., Thapa, B., & Paneru, B. (2025). Sentiment analysis of movie reviews: A flask application using CNN with RoBERTa embeddings. Systems and Soft Computing, 7(September 2024), 200192. https://doi.org/10.1016/j.sasc.2025.200192

Ramadhan, N. G., Wibowo, M., Mohd Rosely, N. F. L., & Quix, C. (2022). Opinion mining indonesian presidential election on twitter data based on decision tree method. Jurnal Infotel, 14(4), 243–248. https://doi.org/10.20895/infotel.v14i4.832

Singh, P., Singh, N., Singh, K. K., & Singh, A. (2021). Chapter 5 - Diagnosing of disease using machine learning. In K. K. Singh, M. Elhoseny, A. Singh, & A. A. Elngar (Eds.), Machine Learning and the Internet of Medical Things in Healthcare (pp. 89–111). Academic Press. https://doi.org/https://doi.org/10.1016/B978-0-12-821229-5.00003-3

Sinha, A., Rout, B., Mohanty, S., Mishra, S. R., Mohapatra, H., & Dey, S. (2024). Exploring Sentiments in the Russia-Ukraine Conflict: A Comparative Analysis of KNN, Decision Tree and Logistic Regression Machine Learning Classifiers. Procedia Computer Science, 235, 1068–1076. https://doi.org/10.1016/j.procs.2024.04.101

Suhono, H. A. R., Pratiwi, R. A., & Kurniadhi, A. (2020). GIS-based environmental assessment of selected prioritized tourist attractions on Lombok Island. IOP Conference Series: Earth and Environmental Science, 592(1), 1–37. https://doi.org/10.1088/1755-1315/592/1/012014

Taher Karim, S. H. (2024). Kurdish social media sentiment corpus: Misyar marriage perspectives. Data in Brief, 57(12), 110989. https://doi.org/10.1016/j.dib.2024.110989

Velmala, M., Rajiakodi, S., Pannerselvam, K., & Sivagnanam, B. (2025). Multimodal Sentiment Analysis of Online Memes: Integrating Text and Image Features for Enhanced Classification. Procedia Computer Science, 258, 355–364. https://doi.org/10.1016/j.procs.2025.04.272

Wahyuningtyas, N., Tanjung, A., Kodir, A., & Wijanarko, H. (2020). Management of Tourism Areas Based on Disaster Mitigation (Case Study of Senggigi Beach). IOP Conference Series: Earth and Environmental Science, 412(1), 1–6. https://doi.org/10.1088/1755-1315/412/1/012015




DOI: https://doi.org/10.31764/jtam.v10i1.34960

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Lalu Muhammad Reza Suganda Putra, Heri Wijayanto, I Gede Putu Wirarama Wedashwara

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

_______________________________________________

JTAM already indexing:

                     


_______________________________________________

 

Creative Commons License

JTAM (Jurnal Teori dan Aplikasi Matematika) 
is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

______________________________________________

_______________________________________________

_______________________________________________ 

JTAM (Jurnal Teori dan Aplikasi Matematika) Editorial Office: