Sentiment Analysis of Lombok Tourism Destinations with Automatic Labeling Using Bidirectional Encoder Representations from Transformers (BERT) and Naïve Bayes

Authors

  • Nora Ananda Putri STMIK Lombok, Indonesia
  • Lalu Mutawalli STMIK Lombok, Praya, Indonesia
  • Maulana Ashari STMIK Lombok, Praya, Indonesia

DOI:

https://doi.org/10.29103/sisfo.v10i2.28494

Keywords:

Sentiment Analysis; Naïve Bayes; BERT

Abstract

Reviews on Google Maps can be used to determine travelers' perceptions of the destination, but the large amount of data makes manual analysis less effective. This study aims to analyze the sentiment of tourist reviews of beach destinations on the island of Lombok using BERT and Naïve Bayes. The data was obtained through Google Maps scraping and generated 12,040 data after the cleaning process. The research stages include preprocessing, translation into English, sentiment labeling using BERT, TF-IDF feature extraction and data splitting, and classification using Naïve Bayes. The results showed that positive sentiment dominated with 8569 data (72.03%), followed by neutral sentiment as many as 1,824 data (15.33%) and negative sentiment as many as 1,504 data (12.64%). The Naïve Bayes model obtained an accuracy of 76.13% and showed a fairly good performance, although it was more optimal in classifying positive sentiment than neutral and negative sentiment. Overall, the results of the study show that beach destinations on Lombok Island have a positive image in the eyes of tourists and can be an evaluation material for managers in improving the quality of tourism services and facilities.

References

[1] Badan Pusat Statistik Provinsi Nusa Tenggara Barat, “Perkembangan Pariwisata Nusa Tenggara Barat Januari 2026.” Accessed: Apr. 14, 2026. [Online]. Available: https://ntb.bps.go.id/id/pressrelease/2026/03/02/1122/perkembangan-pariwisata-nusa-tenggara-barat-januari-2026

[2] Tambora Dompu, “Data Data Wilayah Pesisir Dan Perairan Provinsi NTB.” Accessed: Apr. 27, 2026. [Online]. Available: https://id.scribd.com/document/666107859/Data-Data-Wilayah-Pesisir-Dan-Perairan-Provinsi-Ntb

[3] L. Suryade, A. Fauzi, N. A. Achsani, and E. Anggraini, “Variabel-variabel Kunci dalam Pengembangan Kawasan Ekonomi Khusus Pariwisata (KEK) Berkelanjutan Di Mandalika, Lombok Tengah, Indonesia,” Jurnal Kepariwisataan: Destinasi, Hospitalitas dan Perjalanan, vol. 6, no. 1, pp. 16–30, Jul. 2022, doi: 10.34013/jk.v6i1.327.

[4] N. L. W. S. R. Ginantra, C. P. Yanti, G. D. Prasetya, I. B. G. Sarasvananda, and I. K. A. G. Wiguna, “Analisis Sentimen Ulasan Villa di Ubud Menggunakan Metode Naive Bayes, Decision Tree, dan K-NN,” Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI), vol. 11, no. 3, pp. 205–215, Dec. 2022, doi: 10.23887/janapati.v11i3.49450.

[5] A. Rifa’i, H. Sujaini, and D. Prawira, “Sentiment Analysis Objek Wisata Kalimantan Barat Pada Google Maps Menggunakan Metode Naive Bayes,” Jurnal Edukasi dan Penelitian Informatika (JEPIN), vol. 7, no. 3, p. 400, Dec. 2021, doi: 10.26418/jp.v7i3.48132.

[6] Geocoding API, “Google Maps Platform.” Accessed: Apr. 08, 2026. [Online]. Available: https://developers.google.com/maps/documentation/geocoding/start

[7] D. I. Af’idah, D. Dairoh, S. F. Handayani, R. W. Pratiwi, and S. I. Sari, “Sentimen Ulasan Destinasi Wisata Pulau Bali Menggunakan Bidirectional Long Short Term Memory,” MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 21, no. 3, pp. 607–618, Jul. 2022, doi: 10.30812/matrik.v21i3.1402.

[8] M. Birjali, M. Kasri, and A. Beni-Hssane, “A comprehensive survey on sentiment analysis: Approaches, challenges and trends,” Knowl. Based. Syst., vol. 226, p. 107134, Aug. 2021, doi: 10.1016/j.knosys.2021.107134.

[9] H. Safitri, M. H. R. Chakim, and A. Adiwijaya, “Strategy Based Technology-Based Startups to Drive Digital Business Growth,” Startupreneur Business Digital (SABDA Journal), vol. 2, no. 2, pp. 207–220, Aug. 2023, doi: 10.33050/sabda.v2i2.344.

[10] S. Alam, M. G. Resmi, and N. Masripah, “Classification of Covid-19 vaccine data screening with Naive Bayes algorithm using Knowledge Discovery in database method,” Journal of Computer Networks, Architecture and High Performance Computing, vol. 4, no. 2, pp. 177–185, Jul. 2022, doi: 10.47709/cnahpc.v4i2.1584.

[11] D. S. Budi and H. Syahrial, “Pengoptimalan Performa Database Pada Proses Transformasi Data Pada SQL Server,” Technomedia Journal, vol. 8, no. 3, pp. 78–90, Nov. 2023, doi: 10.33050/tmj.v8i3.2167.

[12] D. Tuhenay, “Perbandingan Klasifikasi Bahasa Menggunakan Metode Naïve Bayes Classifier (NBC) Dan Support Vector Machine (SVM),” JIKO (Jurnal Informatika dan Komputer), vol. 4, no. 2, pp. 105–111, Aug. 2021, doi: 10.33387/jiko.v4i2.2958.

[13] M. N. Hanan, H. M. Jumasa, and I. Y. Pasa, “Analisis Sentimen Calon Gubernur Jawa Tengah 2024 Menggunakan Metode Naïve Bayes,” JURNAL FASILKOM, vol. 15, no. 3, pp. 491–499, Dec. 2025, doi: 10.37859/jf.v15i3.10184.

[14] S. Fitrianti and A. Yudhistira, “Analisis Sentimen Media Sosial Terhadap Calon Pilkada 2024 Dengan Metode Naïve Bayes,” Jurnal Pendidikan dan Teknologi Indonesia, vol. 5, no. 1, pp. 167–176, Jan. 2025, doi: 10.52436/1.jpti.610.

[15] A. Angdresey, L. Sitanayah, and I. L. H. Tangka, “Sentiment Analysis for Political Debates on YouTube Comments using BERT Labeling, Random Oversampling, and Multinomial Naïve Bayes,” Journal of Computing Theories and Applications, vol. 2, no. 3, pp. 342–354, Jan. 2025, doi: 10.62411/jcta.11668.

[16] M. G. Qabasiyu, M. A. Zayyad, and S. Abdullahi, “An Ensembled Based Machine Learning Technique of Sentiment Analysis,” Journal of Telecommunication, Electronic and Computer Engineering (JTEC), vol. 15, no. 1, pp. 23–28, Mar. 2023, doi: 10.54554/jtec.2023.15.01.004.

[17] S. N. S. Muslim, F. Nurdiyansyah, and A. Y. Rahman, “Perbandingan Algoritma Naive Bayes dan KNN Dalam Analisis Sentimen Ulasan Pengguna Aplikasi Capcut,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 3S1, Oct. 2024, doi: 10.23960/jitet.v12i3S1.5156.

[18] T. M. Mitchell, Machine Learning. McGraw-Hill, 1997.

[19] C. M. Bishop, Pattern recognition and machine learning. Springer Science + Business Media, 2009.

[20] Nugraha, Muhammad Rizki, Rangga Gelar Guntara, Btari Mariska Purwaamijaya, Nyra Nazwa Aprilia, and Alamanda Khairunisa. 2025.

[21] Jin, P., et al. (2025). Understanding the heterogeneity and dynamics of factors influencing tourist sentiment with online reviews. Journal of Theoretical and Applied Electronic Commerce Research, 20(1), 22.

[22] Han, S., & Mikhailova, D. (2024). Reducing the bias in online reviews using propensity score adjustment. Cornell Hospitality Quarterly, 65(4).

[23] Susanto, H., Dharma, W. S., Annisa, R., & Fitriana, L. A. (2026). Performance evaluation of the BERT model in sentiment analysis of DANA application user reviews. Journal of Artificial Intelligence and Engineering Applications, 5(3).

[24] Saikin, S., Zaen, M. T. A., Fadli, S., & Fahmi, H. (2025). Penerapan algoritma BERT dalam analisis sentimen opini publik terhadap destinasi wisata dengan metode CRISP-DM. RIGGS: Journal of Artificial Intelligence and Digital Business, 4(4).

[25] Duta, P. K. A., Pitanatri, P. D. S., & Loanata, C. P. (2025). Big data-based sentiment analysis on TripAdvisor reviews using Naïve Bayes classification: A case study on luxury resort in Bali. Media Wisata, 23(1), 92–107.

[26] Tanebeth, R. D. (2026). Performance comparison of sentiment analysis on National Monument (MONAS) reviews using BERT, Support Vector Machine, Logistic Regression, and Multinomial Naïve Bayes. J-Icon: Jurnal Komputer dan Informatika, 14(1), 1–8

[27] Nawawi, I., Ilmawan, K. F., Maarif, M. R., & Syafrudin, M. (2024). Exploring tourist experience through online reviews using aspect-based sentiment analysis with zero-shot learning for hospitality service enhancement. Information, 15(8), 499.

[28] Sari, W. P., Irena, L., & Oktavianti, R. (2024). Lombok tourism sentiment analysis with social media monitoring. ASPIRATIO Demir, R. (2025). Exploring tourist sentiments through online reviews: An analysis of Köprülü Canyon National Park on TripAdvisor. Journal of Tourism and Gastronomy Studies, 13(4), 3705–3719.N Journal, 5(2), 152–171.

[29] Demir, R. (2025). Exploring tourist sentiments through online reviews: An analysis of Köprülü Canyon National Park on TripAdvisor. Journal of Tourism and Gastronomy Studies, 13(4), 3705–3719.

[30] Sari, W. P., Irena, L., & Oktavianti, R. (2024). Lombok tourism sentiment analysis with social media monitoring. ASPIRATION Journal, 5(2), 152–171

Downloads

Published

2026-09-03