Penerapan Naive Bayes untuk Klasifikasi Dokumen Surat Perusahaan Berbasis Web (Studi Kasus: PT. Almex Bintang Timur)
DOI:
https://doi.org/10.69693/jesa.v4i1.159Keywords:
Naive Bayes, TF-IDF, Klasifikasi Dokumen, Pengarsipan Surat, OCR, Aplikasi WebAbstract
PT. Almex Bintang Timur menyimpan surat masuk dan surat keluar yang tersebar di WhatsApp, Gmail, dan folder komputer, sedangkan arah dan jenis surat ditentukan secara manual oleh admin sehingga rawan tidak konsisten dan sulit ditelusuri kembali. Penelitian ini membangun sistem pengarsipan berbasis web yang mengklasifikasikan surat secara otomatis menggunakan Multinomial Naive Bayes dengan pembobotan TF-IDF. Teks dokumen diekstrak menggunakan PyMuPDF dan EasyOCR, kemudian melalui tahap case folding, cleaning, tokenizing, stopword removal, dan stemming. Model memprediksi tujuh jenis surat, lalu arah surat (masuk atau keluar) ditetapkan dari jenis tersebut, sedangkan nama perusahaan dan tanggal surat diekstrak menggunakan regular expression. Dataset terdiri atas 85 berkas dokumen surat dengan pembagian data latih dan data uji 70:30. Hasil pengujian menunjukkan akurasi, precision, recall, dan F1-score sebesar 100% pada 26 data uji, serta rata-rata akurasi 98,94% ± 2,26% pada repeated stratified 5-fold cross validation. Seluruh 40 skenario black box testing berhasil, dan hasil kuesioner menunjukkan indeks pengelolaan arsip meningkat dari 41% (Tidak Setuju) menjadi 99% (Sangat Setuju). Sistem ini membantu pengguna menemukan, mengelompokkan, dan mengelola arsip dokumen surat.
Downloads
References
[1] P. Pangestu and V. Agustin, “Rancang bangun sistem informasi pengarsipan surat berbasis web (studi kasus: Kantor Desa Banglas Barat),” Indonesian Journal of Informatic Research and Software Engineering, vol. 2, no. 1, pp. 28–36, 2022, doi: 10.57152/ijirse.v2i1.153.
[2] K. K. R. Dewi and P. Hendradi, “Perancangan sistem informasi pengarsipan dokumen di Universitas Satya Negara Indonesia,” in Prosiding Seminar Nasional Inovasi Teknologi (SNITek), vol. 4, 2023, pp. 82–92, doi: 10.59134/prosidng.v4i.553.
[3] A. W. Rahayu and Nurgiyatna, “Sistem administrasi dokumen berbasis web pada Forum Human Capital Indonesia,” Emitor: Jurnal Teknik Elektro, vol. 22, no. 1, pp. 47–54, 2022, doi: 10.23917/emitor.v21i2.13657.
[4] A. Priambodo and A. Juraini, “Sistem informasi pengarsipan surat masuk dan surat keluar dengan metode electronic filing system (studi kasus: STMKG-BMKG),” Jurnal Satya Informatika, vol. 7, no. 1, pp. 14–24, 2022, doi: 10.59134/jsk.v7i1.454.
[5] G. Prayitno and M. T. Pakila, “Optimalisasi pengarsipan surat masuk dan surat keluar dengan sistem berbasis web Kantor Desa Waharia,” Jurnal Teknologi dan Informatika, vol. 2, no. 1, pp. 150–161, 2024, doi: 10.70539/jti.v2i1.32.
[6] J. F. Indey and Supangat, “Implementasi algoritma Naïve Bayes dalam sistem pengarsipan surat berbasis AI di GPI Papua Klasis Mimika Papua Tengah,” Jurnal Ilmiah Informatika, vol. 12, no. 2, pp. 102–113, 2024, doi: 10.33884/jif.v12i02.9087.
[7] F. Kamal, L. Sanusi, A. Sofwan, and Y. Christyono, “Penerapan OCR dan NLP untuk otomasi pengisian arsip digital dan validasi surat pada aplikasi arsip digital berbasis website di PT Nusa Raya Cipta Tbk,” Transient: Jurnal Ilmiah Teknik Elektro, vol. 14, no. 2, pp. 66–75, 2025.
[8] K. Kowsari, K. Jafari Meimandi, M. Heidarysafa, S. Mendu, L. Barnes, and D. Brown, “Text classification algorithms: A survey,” Information, vol. 10, no. 4, Art. no. 150, 2019, doi: 10.3390/info10040150.
[9] L. Zhang, “Features extraction based on Naive Bayes algorithm and TF-IDF for news classification,” PLOS ONE, vol. 20, no. 7, Art. no. e0327347, 2025, doi: 10.1371/journal.pone.0327347.
[10] I. M. B. Gautama, “Klasifikasi data saran pemustaka di Perpustakaan STIKOM Bali menggunakan TF-IDF dan Multinomial Naive Bayes,” Jurnal Sistem dan Informatika (JSI), vol. 17, no. 2, pp. 62–72, 2023, doi: 10.30864/jsi.v17i2.490.
[11] A. Pranata, Rudiman, and N. A. Verdikha, “Klasifikasi teks quick count pemilihan presiden 2024 pada Twitter menggunakan metode TF-IDF dan Naive Bayes,” Jurnal Informatika Terpadu, vol. 10, no. 2, pp. 93–100, 2024, doi: 10.54914/jit.v10i2.1279.
[12] Erlangga, A. K. Saputra, and A. H. N. Kushariantoko, “Analisis performansi Naïve Bayes pada klasifikasi plagiarisme dokumen berdasarkan pembobotan teks menggunakan algoritma TF-IDF,” EXPERT: Jurnal Manajemen Sistem Informasi dan Teknologi, vol. 14, no. 2, pp. 115–122, 2024, doi: 10.36448/expert.v14i2.3952.
[13] X. Li et al., “An intelligent system for classifying patient complaints using machine learning and natural language processing: Development and validation study,” Journal of Medical Internet Research, vol. 27, Art. no. e55721, 2025, doi: 10.2196/55721.
[14] M. N. Darpito, K. Firdausy, and A. Fadlil, “Perbandingan unjuk kerja library optical character recognition (OCR) dalam pengenalan teks pada dokumen digital,” Jurnal Informatika Polinema, vol. 11, no. 3, pp. 273–281, 2025, doi: 10.33795/jip.v11i3.7025.
[15] A. F. I. Setyadi and Y. A. Susetyo, “Implementasi algoritma LSTM pada aplikasi optical character recognition berbasis website menggunakan Tesseract OCR,” Jurnal Teknologi Sistem Informasi dan Aplikasi, vol. 6, no. 2, pp. 63–71, 2023, doi: 10.32493/jtsi.v6i2.29235.
[16] R. Setiabudi, N. M. S. Iswari, and A. Rusli, “Enhancing text classification performance by preprocessing misspelled words in Indonesian language,” TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 19, no. 4, pp. 1234–1241, 2021, doi: 10.12928/TELKOMNIKA.v19i4.20369.
[17] L. Xiao, Q. Li, Q. Ma, J. Shen, Y. Yang, and D. Li, “Text classification algorithm of tourist attractions subcategories with modified TF-IDF and Word2Vec,” PLOS ONE, vol. 19, no. 10, Art. no. e0305095, 2024, doi: 10.1371/journal.pone.0305095.
[18] A. McCallum and K. Nigam, “A comparison of event models for Naive Bayes text classification,” in AAAI-98 Workshop on Learning for Text Categorization, 1998, pp. 41–48.
[19] K. Bolaj, “Text categorization system for English text documents using Naïve Bayes classifier,” International Journal of Computer Applications, vol. 177, no. 48, pp. 7–10, 2020, doi: 10.5120/ijca2020919950.
[20] A. Y. Ng and M. I. Jordan, “On discriminative vs. generative classifiers: A comparison of logistic regression and Naive Bayes,” in Advances in Neural Information Processing Systems 14, 2002, pp. 841–848.
[21] A. I. Gufroni, S. Yuliyanti, and E. N. F. Dewi, “Ektraksi fitur menggunakan regular expression pada Naïve Bayes classifier untuk analisis sentimen,” MIND (Multimedia Artificial Intelligent Networking Database) Journal, vol. 8, no. 2, pp. 230–241, 2023, doi: 10.26760/mindjournal.v8i2.230-241.
[22] R. Chandra and E. M. Sipayung, “Analisis sentimen ulasan aplikasi Samsat Digital Nasional menggunakan algoritma Naive Bayes classifier,” Jurnal Nasional Teknologi dan Sistem Informasi, vol. 10, no. 3, pp. 156–164, 2024, doi: 10.25077/TEKNOSI.v10i3.2024.156-164.
[23] N. F. Arminda, N. Sulistiyowati, and T. N. Padilah, “Implementasi algoritma Multinomial Naive Bayes pada analisis sentimen terhadap ulasan pengguna aplikasi BRImo,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 3, pp. 1817–1822, 2023, doi: 10.36040/jati.v7i3.7012.
[24] L. N. Hayati, F. Y. Randana, and H. Darwis, “An in-depth exploration of sentiment analysis on Hasanuddin Airport using machine learning approaches,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 9, no. 2, pp. 195–208, 2025, doi: 10.29207/resti.v9i2.6253.
[25] A. Amalia, S. W. P. Hamidah, and T. Kristanto, “Pengujian black box menggunakan teknik equivalence partitions pada aplikasi e-learning berbasis web,” Building of Informatics, Technology and Science (BITS), vol. 3, no. 3, pp. 269–274, 2021, doi: 10.47065/bits.v3i3.1062.
[26] A. S. Wulandari, A. Saepudin, M. P. Kinanti, Z. Sudesi, A. Saifudin, and Yulianti, “Pengujian aplikasi sistem informasi akademik berbasis web menggunakan metode black box testing equivalence partitioning,” Jurnal Teknologi Sistem Informasi dan Aplikasi, vol. 5, no. 2, pp. 102–109, 2022, doi: 10.32493/jtsi.v5i2.17561.
[27] W. Wulandari, N. Nofiyani, and H. Hasugian, “User acceptance testing (UAT) pada electronic data preprocessing guna mengetahui kualitas sistem,” Jurnal Mahasiswa Ilmu Komputer, vol. 4, no. 1, pp. 20–27, 2023, doi: 10.24127/ilmukomputer.v4i1.3383.
[28] O. Lyons et al., “Changing estimates of leadership ability before a programme: Retrospective self-assessments and response-shift bias,” BMJ Leader, vol. 7, no. 1, pp. 64–67, 2023, doi: 10.1136/leader-2021-000586.
[29] R. Likert, “A technique for the measurement of attitudes,” Archives of Psychology, vol. 22, no. 140, pp. 1–55, 1932.
[30] I. Kusmaryono, D. Wijayanti, and H. R. Maharani, “Number of response options, reliability, validity, and potential bias in the use of the Likert scale education and social science research: A literature review,” International Journal of Educational Methodology, vol. 8, no. 4, pp. 625–637, 2022, doi: 10.12973/ijem.8.4.625.
[31] H. N. Boone and D. A. Boone, “Analyzing Likert data,” Journal of Extension, vol. 50, no. 2, Art. no. 48, 2012.
[32] A. Joshi, S. Kale, S. Chandel, and D. K. Pal, “Likert scale: Explored and explained,” British Journal of Applied Science & Technology, vol. 7, no. 4, pp. 396–403, 2015, doi: 10.9734/BJAST/2015/14975.
[33] W. I. Rahayu and M. R. Shafina, “Aplikasi analisis kelayakan sistem untuk pengukuran usability dengan menerapkan metode USE Questionnaire,” Jurnal Teknik Informatika, vol. 14, no. 3, pp. 152–160, 2022.
[34] A. Soetiksno, J. R. Asthenu, and H. Karim, “Pengaruh fasilitas kerja terhadap kinerja pegawai pada Kantor Kecamatan Tehoru Kabupaten Maluku Tengah,” Jurnal Administrasi Terapan, vol. 3, no. 1, pp. 1–13, 2024.
[35] A. Supriadi and Fatmasari, “Implementasi metode klasifikasi Naive Bayes pada sistem analisis opini pengguna Twitter berbasis web,” Jurnal Sistem Informasi, vol. 10, no. 1, pp. 46–54, 2021, doi: 10.51998/jsi.v10i1.356.
[36] F. B. D. P. Dopo, S. D. B. Mau, F. Tedy, and P. F. M. Tengangatu, “Implementasi algoritma Naive Bayes pada aplikasi web untuk klasifikasi status gizi balita,” Jurnal Informatika Polinema, vol. 12, no. 2, pp. 333–340, 2026, doi: 10.33795/jip.v12i2.8898.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Engineering and Science Application

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













