Implementation of Bag of Words as a Text Representation Method in Sentiment Analysis of Free Fire Game Reviews on Google Play Store Using the Naive Bayes Algorithm

Authors

  • Muhammad Rofiul Isnaini Universitas Islam Lamongan
  • Retno Wardhani Universitas Islam Lamongan
  • Nur Qomariyah Nawafilah Universitas Islam Lamongan

DOI:

https://doi.org/10.59934/jaiea.v6i1.2898

Keywords:

bag of words, free fire, google play store, naive bayes, sentiment analysis

Abstract

The increasing popularity of online games has led to a growing number of user reviews on the Google Play Store, providing valuable information regarding user opinions toward the Free Fire game. However, the large volume of reviews makes manual sentiment analysis less effective. This study aims to implement Bag of Words as a text representation method for sentiment analysis of Free Fire game reviews using the Multinomial Naive Bayes algorithm and to evaluate the classification performance. The dataset consisted of 5,000 Indonesian-language reviews collected from the Google Play Store during 2020–2025. The research stages included data collection, preprocessing, sentiment labeling into positive, negative, and neutral classes, data splitting at a ratio of 80:20, Bag of Words representation, Multinomial Naive Bayes classification, and evaluation using accuracy, precision, recall, F1-score, and confusion matrix. The results showed that the model achieved an accuracy of 54.42%. The positive class obtained the highest recall of 90% and an F1-score of 69%, while the neutral class showed the lowest performance with a recall of 14% and an F1-score of 21%. These results indicate that Bag of Words combined with Multinomial Naive Bayes can be applied to classify Free Fire game reviews, although further improvement is required, particularly for neutral sentiment classification.

Downloads

Download data is not yet available.

Author Biographies

Retno Wardhani, Universitas Islam Lamongan

Dosen Teknik Informatika Fakultas Sains dan Teknologi Universitas Islam Lamongan

Nur Qomariyah Nawafilah, Universitas Islam Lamongan

Dosen Teknik Informatika Fakultas Sains dan Teknologi Universitas Islam Lamongan

References

A. Bachtiar, M. J. Hawali, N. C. Simbolon, D. A. Maulana, dan R. A. Anggraini, “ANALISIS SENTIMEN ULASAN FREE FIRE MENGGUNAKAN NAIVE BAYES LOGISTIC REGRESSION,” J. Inf. Syst. Manag., vol. 7, no. 2, hal. 275–282, Jan 2026, doi: 10.24076/joism.2026v7i2.2433.

N. R. Rahman, A. Rahim, dan W. Pranoto, “ANALISIS SENTIMEN ULASAN GAME EFOOTBALL 2024 PADA PLAYSTORE MENGGUNAKAN ALGORITMA NAÏVE BAYES,” J. Ilm. Inform., vol. 13, no. 01, hal. 38–44, Mar 2025, doi: 10.33884/jif.v13i01.9913.

Endrik, A. Nugroho, dan A. T. Zy, “Penerapan Algoritma Naive Bayes dan PSO pada Analisis Sentimen Kandidat Calon Presiden 2024,” Remik Ris. dan E-Jurnal Manaj. Inform. Komput., vol. 7, hal. 1367–1380, 2023, doi: 10.33395/remik.v7i3.12638.

A. R. Sitorus, W. John, P. Ziraluho, dan I. M. S. Sarkis S, “Analisis Sentimen Game Mobile Legends Berdasarkan Review Pengguna Di Playstore Menggunakan Algoritma Naive Bayes,” vol. 4, no. 2, hal. 108–113, 2024.

A. D. M. Putri, N. Sulistianingsih, dan R. Rismayati, “Pengaruh Teknik Representasi Teks Bag-of-Words dan TF-IDF terhadap Akurasi Klasifikasi Sentimen Teks Multi-Domain,” JTIM J. Teknol. Inf. dan Multimed., vol. 7, no. 4, hal. 675–688, Okt 2025, doi: 10.35746/jtim.v7i4.756.

A. A. Firdaus, A. I. Hadiana, dan A. K. Ningsih, “Klasifikasi Sentimen pada Aplikasi Shopee Menggunakan Fitur Bag of Word dan Algoritma Random Forest,” Ranah Res. J. Multidiscip. Res. Dev., vol. 6, no. 5, hal. 1678–1683, Jul 2024, doi: 10.38035/rrj.v6i5.994.

T. Setyani, K. Sari, H. N. Heidy, dan R. R. Suryono, “Analisis Sentimen Pengguna Aplikasi Jamsostek Mobile Berdasarkan Ulasan Google Play Store Menggunakan Algoritma Support Vector Machine dan Naive Bayes,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 6, no. 1, hal. 373–384, 2026, doi: 10.57152/malcom.v6i1.2526.

A. Prasetya, N. Ramadha, F. Firmansyah, dan J. T. Kumalasari, “Analisis Sentimen Ulasan Gojek pada Google Play Store Menggunakan Metode Naïve Bayes,” J. Nas. Komputasi dan Teknol. Inf., vol. 8, no. 4, hal. 2042–2050, Agu 2025, doi: 10.32672/jnkti.v8i4.9402.

R. F. Chandra dan D. A. Putri, “Implementasi Metode Naïve Bayes Pada Ulasan Pengguna Aplikasi Dana Di Google Play Store,” J. Infortech, vol. 7, no. 1, hal. 64–69, Jun 2025, doi: 10.31294/infortech.v7i1.12366.

A. Iskoko, I. Tahyudin, dan P. Purwadi, “Analisis Sentimen Ulasan Pengguna Aplikasi Sinaga Mobile pada Google Play Store Menggunakan Algoritma Naive Bayes,” J. Pendidik. dan Teknol. Indones., vol. 5, no. 6, hal. 1635–1645, Jun 2025, doi: 10.52436/1.jpti.843.

D. D. T. Situngkir, Anita, dan D. L. Purba, “Klasifikasi Sentimen Ulasan GoFood di Google Play Store dengan Metode Naive Bayes,” J. Algoritm., vol. 23, no. 1, Mei 2026, doi: 10.33364/algoritma/v.23-1.3479.

R. E. Pambudi, H. Purnomo, dan A. Aglasia, “Analisis Klasifikasi Sentimen Pengguna MyPertamina Menggunakan Metode Evaluasi Precision, Recall, dan F1-Score,” Aisyah J. Informatics Electr. Eng., vol. 07, no. 02, hal. 17–22, 2025, [Daring]. Tersedia pada: https://jti.aisyahuniversity.ac.id/index.php/AJIEE

S. Fitrianti dan A. Yudhistira, “Analisis Sentimen Media Sosial Terhadap Calon Pilkada 2024 Dengan Metode Naïve Bayes,” J. Pendidik. dan Teknol. Indones., vol. 5, no. 1, hal. 167–176, Jan 2025, doi: 10.52436/1.jpti.610.

T. Abdillah, U. Khaira, dan B. F. Hutabarat, “Komparasi Metode Naive Bayes dan K-Nearest Neighbors Terhadap Analisis Sentimen Pengguna Aplikasi Zenius,” J. Process., vol. 19, no. 1, Mei 2024, doi: 10.33998/processor.2024.19.1.1596.

Y. C. Moniung, A. Marcellino, dan R. Rusbandi, “Penerapan Teknik SMOTE Pada Analisis Sentimen Bea Cukai Menggunakan Algoritma Naïve Bayes,” J. Algoritm., vol. 4, no. 2, hal. 75–84, Apr 2024, doi: 10.35957/algoritme.v4i2.8155.

Downloads

Published

2026-10-15

How to Cite

Muhammad Rofiul Isnaini, Retno Wardhani, & Nur Qomariyah Nawafilah. (2026). Implementation of Bag of Words as a Text Representation Method in Sentiment Analysis of Free Fire Game Reviews on Google Play Store Using the Naive Bayes Algorithm. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 973–980. https://doi.org/10.59934/jaiea.v6i1.2898