SENTIMENT ANALYSIS OF COMMENTS ON TOURIST ATTRACTIONS IN LAMPUNG PROVINCE USING THE NAIVE BAYES METHOD

Authors

  • Muhammad Arif Wirahudha Information System, Faculty of Engineering and Computer Science, Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • Damayanti Information System, Faculty of Engineering and Computer Science, Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • Dyah Ayu Megawaty Information System, Faculty of Engineering and Computer Science, Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2025.6.2.4037

Keywords:

Naive Bayes, Opinion, Sentiment Analysis, Tourism, Travel, Tweet

Abstract

Lampung Province is a province that has so much natural beauty, this also makes Lampung Province one of the tourist destinations that are visited by many domestic and foreign tourists so that there is a problem, namely the many negative comments that are not in accordance with reality affect the number of tourist visits to Lampung Province because they are not in accordance with reality so that they affect public opinion about tourism in Lampung Province which results in tourist attractions being deserted. The method used to analyze sentiment analysis is the naive bayes algorithm by crawling data using python. The stages of the naive bayes algorithm in the study using preprocessing consist of five processes, namely cleansing, tokenization, case folding, stopword removal, and stemming. Lampung Province tourist attractions are Pahawang, Way Kambas, Krui Beach / West Coast, Mutun Beach and Kiluan Bay. The results of a fairly high level of accuracy in positive comments on Pahawang Beach. In this study, it was concluded that the impact of comments can affect the number of visitors coming to tourist attractions.

Downloads

Download data is not yet available.

References

BPS, “Badan Pusat Statistik,” 2022. .

D. Alita, I. Sari, A. R. Isnain, and S. Styawati, “Penerapan Naïve Bayes Classifier Untuk Pendukung Keputusan Penerima Beasiswa,” J. Data Min. dan Sist. Inf., vol. 2, no. 1, p. 17, 2021, doi: 10.33365/jdmsi.v2i1.1028.

R. Situmorang, U. M. Husni Tamyis, and L. S. Andar Muni, “Analisis Sentimen Destinasi Wisata Di Jawabarat Pada Twitter Menggunakan Algoritma Naive Bayes Classifier,” Simtek J. Sist. Inf. dan Tek. Komput., vol. 8, no. 2, pp. 339–342, 2023, doi: 10.51876/simtek.v8i2.287.

W. Khofifah, D. N. Rahayu, and A. M. Yusuf, “Analisis Sentimen Menggunakan Naive Bayes Untuk Melihat Review Masyarakat Terhadap Tempat Wisata Pantai Di Kabupaten Karawang Pada Ulasan Google Maps,” J. Interkom J. Publ. Ilm. Bid. Teknol. Inf. dan Komun., vol. 16, no. 4, pp. 28–38, 2022, doi: 10.35969/interkom.v16i4.192.

I. Tri, P. Sihaloho, D. E. Ratnawati, and B. Rahayudi, “Analisis Sentimen Objek Wisata Danau Toba berdasarkan Ulasan Pengunjung menggunakan Algoritma Support Vector Machine,” vol. 6, no. 9, pp. 4204–4209, 2022, [Online]. Available: http://j-ptiik.ub.ac.id.

H. Sulistiani, I. A. Rahman, B. M. Hurohman, A. Nurkholis, and Styawati, “Analisis Perbandingan Algoritma LSTM dan Naive Bayes untuk Analisis Sentimen,” JEPIN (Jurnal Edukasi dan Penelit. Inform., vol. 8, no. 2, pp. 299–303, 2022, doi: 10.37859/jf.v13i3.6303.

A. R. Isnain et al., “Comparison of Support Vector Machine and Naïve Bayes on Twitter Data Sentiment Analysis,” J. Inform. J. Pengemb. IT, vol. 6, no. 1, pp. 56–60, 2021, doi: 10.30591/jpit.v6i1.3245.

M. Z. Subarkah, M. Hilda, and E. Zukhronah, “Analisis Sentimen Review Tempat Wisata Pada Data Online Travel Agency Di Yogyakarta Menggunakan Model Neural Network IndoBERTweet Fine Tuning,” Semin. Nas. Off. Stat., vol. 2022, no. 1, pp. 543–552, 2022, doi: 10.34123/semnasoffstat.v2022i1.1246.

M. S. Syahlan, D. Irmayanti, and S. Alam, “Analisis Sentimen Terhadap Tempat Wisata Dari Komentar Pengunjung Dengan Menggunakan Metode Support Vector Machine (Svm),” Simtek J. Sist. Inf. dan Tek. Komput., vol. 8, no. 2, pp. 315–319, 2023, doi: 10.51876/simtek.v8i2.281.

G. K. Pati and E. Umar, “Analisis Sentimen Komentar Pengunjung Terhadap Tempat Wisata Danau Weekuri Menggunakan Metode Naive Bayes Classifier Dan K-Nearest Neighbor,” J. Media Inform. Budidarma, vol. 6, no. 4, p. 2309, 2022, doi: 10.30865/mib.v6i4.4635.

BPS, “Badan Pusat Statistik,” 2022. .

D. Alita, I. Sari, A. R. Isnain, and S. Styawati, “Penerapan Naïve Bayes Classifier Untuk Pendukung Keputusan Penerima Beasiswa,” J. Data Min. dan Sist. Inf., vol. 2, no. 1, p. 17, 2021, doi: 10.33365/jdmsi.v2i1.1028.

R. Situmorang, U. M. Husni Tamyis, and L. S. Andar Muni, “Analisis Sentimen Destinasi Wisata Di Jawabarat Pada Twitter Menggunakan Algoritma Naive Bayes Classifier,” Simtek J. Sist. Inf. dan Tek. Komput., vol. 8, no. 2, pp. 339–342, 2023, doi: 10.51876/simtek.v8i2.287.

W. Khofifah, D. N. Rahayu, and A. M. Yusuf, “Analisis Sentimen Menggunakan Naive Bayes Untuk Melihat Review Masyarakat Terhadap Tempat Wisata Pantai Di Kabupaten Karawang Pada Ulasan Google Maps,” J. Interkom J. Publ. Ilm. Bid. Teknol. Inf. dan Komun., vol. 16, no. 4, pp. 28–38, 2022, doi: 10.35969/interkom.v16i4.192.

I. Tri, P. Sihaloho, D. E. Ratnawati, and B. Rahayudi, “Analisis Sentimen Objek Wisata Danau Toba berdasarkan Ulasan Pengunjung menggunakan Algoritma Support Vector Machine,” vol. 6, no. 9, pp. 4204–4209, 2022, [Online]. Available: http://j-ptiik.ub.ac.id.

H. Sulistiani, I. A. Rahman, B. M. Hurohman, A. Nurkholis, and Styawati, “Analisis Perbandingan Algoritma LSTM dan Naive Bayes untuk Analisis Sentimen,” JEPIN (Jurnal Edukasi dan Penelit. Inform., vol. 8, no. 2, pp. 299–303, 2022, doi: 10.37859/jf.v13i3.6303.

A. R. Isnain et al., “Comparison of Support Vector Machine and Naïve Bayes on Twitter Data Sentiment Analysis,” J. Inform. J. Pengemb. IT, vol. 6, no. 1, pp. 56–60, 2021, doi: 10.30591/jpit.v6i1.3245.

M. Z. Subarkah, M. Hilda, and E. Zukhronah, “Analisis Sentimen Review Tempat Wisata Pada Data Online Travel Agency Di Yogyakarta Menggunakan Model Neural Network IndoBERTweet Fine Tuning,” Semin. Nas. Off. Stat., vol. 2022, no. 1, pp. 543–552, 2022, doi: 10.34123/semnasoffstat.v2022i1.1246.

M. S. Syahlan, D. Irmayanti, and S. Alam, “Analisis Sentimen Terhadap Tempat Wisata Dari Komentar Pengunjung Dengan Menggunakan Metode Support Vector Machine (Svm),” Simtek J. Sist. Inf. dan Tek. Komput., vol. 8, no. 2, pp. 315–319, 2023, doi: 10.51876/simtek.v8i2.281.

G. K. Pati and E. Umar, “Analisis Sentimen Komentar Pengunjung Terhadap Tempat Wisata Danau Weekuri Menggunakan Metode Naive Bayes Classifier Dan K-Nearest Neighbor,” J. Media Inform. Budidarma, vol. 6, no. 4, p. 2309, 2022, doi: 10.30865/mib.v6i4.4635.

A. Amolik, “Twitter Sentiment Analysis of Movie Reviews using Machine Learning Techniques,” Int. J. Eng. Technol., vol. 7, no. 6, pp. 2319 – 8613, 2016.

A. R. Isnain, H. Sulistiani, B. M. Hurohman, A. Nurkholis, and S. Styawati, “Analisis Perbandingan Algoritma LSTM dan Naive Bayes untuk Analisis Sentimen,” J. Edukasi dan Penelit. Inform., vol. 8, no. 2, p. 299, 2022, doi: 10.26418/jp.v8i2.54704.

J. Mantik, Y. R. Saputri, and H. Februariyanti, “Sentiment Analysis on Shopee E-Commerce Using the Naïve Bayes Classifier Algorithm,” J. Mantik, vol. 6, no. 2, pp. 1349–1357, 2022, doi: https://doi.org/10.35335/mantik.v7i3.4020.

R. Ulgasesa, A. B. P. Negara, and T. Tursina, “Pengaruh Stemming Terhadap Performa Klasifikasi Sentimen Masyarakat Tentang Kebijakan New Normal,” J. Sist. dan Teknol. Inf., vol. 10, no. 3, p. 286, 2022, doi: 10.26418/justin.v10i3.53880.

R. Julianto, E. D. Bintari, and I. Indrianti, “Analisis Sentimen Layanan Provider Telepon Seluler pada Twitter Menggunakan Metode Naïve Bayesian Classification,” J. Big Data Anal. Artif. Intell., vol. 3, no. 1, pp. 23–30, 2017, doi: https://doi.org/10.52436/1.jutif.2024.5.5.2004.

N. Nofiyani and W. Wulandari, “Implementasi Electronic Data Processing Untuk meningkatkan Efektifitas dan Efisiensi Pada Text Mining,” J. Media Inform. Budidarma, vol. 6, no. 3, p. 1621, 2022, doi: 10.30865/mib.v6i3.4332.

R. Oktafiani, A. Hermawan, and D. Avianto, “Pengaruh Komposisi Split data Terhadap Performa Klasifikasi Penyakit Kanker Payudara Menggunakan Algoritma Machine Learning,” J. Sains dan Inform., no. August, pp. 19–28, 2023, doi: 10.34128/jsi.v9i1.622.

T. Ridwansyah, “Implementasi Text Mining Terhadap Analisis Sentimen Masyarakat Dunia Di Twitter Terhadap Kota Medan Menggunakan K-Fold Cross Validation Dan Naïve Bayes Classifier,” KLIK Kaji. Ilm. Inform. dan Komput., vol. 2, no. 5, pp. 178–185, 2022, doi: 10.30865/klik.v2i5.362.

B. Saputra, S. Anwar, E. Tohidi, H. Susana, and D. Pratama, “Penerapan Algortima Naïve Bayes Dalam Klasifikasi Harga Ponsel,” JATI (Jurnal Mhs. Tek. Inform., vol. 7, no. 6, pp. 3587–3594, 2024, doi: 10.36040/jati.v7i6.8281.

Heliyanti Susana, “Penerapan Model Klasifikasi Metode Naive Bayes Terhadap Penggunaan Akses Internet,” J. Ris. Sist. Inf. dan Teknol. Inf., vol. 4, no. 1, pp. 1–8, 2022, doi: 10.52005/jursistekni.v4i1.96.

Additional Files

Published

2025-05-17

How to Cite

[1]
M. A. . Wirahudha, D. Damayanti, and D. A. Megawaty, “SENTIMENT ANALYSIS OF COMMENTS ON TOURIST ATTRACTIONS IN LAMPUNG PROVINCE USING THE NAIVE BAYES METHOD”, J. Tek. Inform. (JUTIF), vol. 6, no. 2, pp. 935–950, May 2025.