Vol. 7 No. 3 (2026) • Articles
Open Access

Implementasi Term Frequency dan Cosine Similarity pada Aplikasi Koreksi Otomatis Jawaban Esai Berbasis Web

Joko Suwarno
Universitas Pamulang image/svg+xml
Galuh Saputri
Universitas Pamulang image/svg+xml
Willis Puspita Sari
Universitas Pamulang image/svg+xml
Didik Kusuma Rahmat
Universitas Pamulang image/svg+xml
Published: September 30, 2026 Pages: 761-771
Original Full-Text Article
Download published version for reading and archiving
Abstract

Manually grading essay answers is time-consuming and labor-intensive, as teachers must review each student's response individually against an answer key. This study aims to implement Term Frequency (TF) and Cosine Similarity within a web-based automated essay grading application. The system was developed using the Waterfall Software Development Life Cycle (SDLC) model, with text processing involving case folding, tokenization, filtering, and stemming stages. Preprocessing results were represented as term frequencies and subsequently compared using Cosine Similarity. A sample calculation using a single pair—an answer key and a student response—yielded a Cosine Similarity score of 0.878 (87.8%), indicating the level of textual similarity between the two documents; this figure does not represent the system's overall accuracy, as algorithm testing in this study was limited to a single document pair and did not include a comparison with teacher assessments. Functional testing using Black Box Testing demonstrated that the application's core functions operated according to the designed scenarios. The results indicate that TF and Cosine Similarity can be implemented as a mechanism for measuring textual similarity in web-based essay grading applications. Validation using a larger dataset of student answers and comparisons with teacher assessments is required to evaluate the method's performance more comprehensively.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Joko Suwarno Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

Galuh Saputri Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

Willis Puspita Sari Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

Didik Kusuma Rahmat Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

How to Cite
Suwarno, J., Saputri, G., Sari, W. P., & Rahmat, D. K. (2026). Implementasi Term Frequency dan Cosine Similarity pada Aplikasi Koreksi Otomatis Jawaban Esai Berbasis Web. Jurnal Indonesia : Manajemen Informatika Dan Komunikasi, 7(3), 761-771. https://doi.org/10.63447/jimik.v7i3.2101
License

This work is licensed under a Copyright (c) 2026 Joko Suwarno, Galuh Saputri, Willis Puspita Sari, Didik Kusuma Rahmat .

Creative Commons Attribution 4.0 International License (CC BY 4.0)

This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .

  • Share: You are free to copy, distribute, and transmit the work in any medium or format.
  • Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 21 References
  1. Abidin, M. Z., Sudrajat, A. W., & Petrus, J. (2025). A systematic review of random forest and logistic regression algorithms for predicting student readiness in LSP-P1 competency certification at vocational high schools. JuSiTik: Jurnal Sistem dan Teknologi Informasi Komunikasi, 9(1), 76–89. https://doi.org/10.32524/JUSITIK.V9I1.1735
  2. Al Hasri, M. V., & Sudarmilah, E. (2021). Sistem informasi pelayanan administrasi kependudukan berbasis website Kelurahan Banaran. MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, 20(2), 249–260. https://doi.org/10.30812/MATRIK.V20I2.1056
  3. Andhini, L., Maulana, R., & Pratama, N. R. (2025). Innovation in automated essay scoring for writing assessment: A case study at SMA Negeri 1 Genteng. JINEA: Journal of Innovation in Education and Learning, 1(3), 143–152. https://doi.org/10.66031/JINEA.V1I3.35
  4. Anggraeni, Y. S., Saputri, S. D., Azzahra, T., Verrel, A. G., & Tundjungsari, V. (2026). Implementasi content-based filtering menggunakan TF-IDF dan cosine similarity untuk rekomendasi buku akademik mahasiswa. Jurnal Informatika: Jurnal Pengembangan IT, 11(2), 213–225. https://doi.org/10.30591/JPIT.V11I2.10055
  5. Arifuddin, M. R., Rafiq, I. A., Mubarok, R., & Susilo, P. H. (2023). Sistem cerdas penilaian ujian essay menggunakan metode cosine similarity. Generation Journal, 7(1), 31–38. https://doi.org/10.29407/GJ.V7I1.18318
  6. Chamidah, N., Santoni, M. M., Irmanda, H. N., Astriratma, R., & Yulnelly, Y. (2022). Penilaian esai pendek otomatis berdasarkan similaritas semantik dengan SBERT. Techno.Com, 21(4), 732–743. https://doi.org/10.33633/TC.V21I4.6758
  7. Dillah, S., Syahyaningsih, L. T., Surianto, D. F., Budiarti, N. A. E., & Andayani, D. D. (2026). Integrating triplet loss with paraphrase-tuned SBERT for enhancing semantic meaning representation in Indonesian text. International Journal of Fuzzy Logic and Intelligent Systems, 26(1), 35–46. https://doi.org/10.5391/IJFIS.2026.26.1.35
  8. Fitriani, Y., Utami, S., & Junadi, B. (2022). Perancangan sistem informasi human capital management berbasis website. Journal of Information System, Applied, Management, Accounting and Research, 6(4), 792–803. https://doi.org/10.52362/JISAMAR.V6I4.919
  9. Gudya, S., Syahra, S., Sari, Y., & Suyanto, Y. (2022). The effect of text summarization in essay scoring (case study: Teach on e-learning). IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 16(1), 79–90. https://doi.org/10.22146/ijccs.69906
  10. Kurniadi, D., Gernowo, R., Surarso, B., Wibowo, A., & Warsito, B. (2023). Sistem penilaian jawaban singkat otomatis pada ujian online berbasis komputer menggunakan algoritma cosine similarity. JEPIN, 9(2), 316–322.
  11. Lahitani, A. R. (2022). Automated essay scoring menggunakan cosine similarity pada penilaian esai multi soal. Jurnal Kajian Ilmiah, 22(2), 107–118. https://doi.org/10.31599/M8N1X493
  12. Pane, E. S., Hardianto, R., & Choriah, W. (2024). Sistem penilaian ujian esai secara otomatis dengan algoritma text mining cosine similarity penunjang pembelajaran. ZONAsi: Jurnal Sistem Informasi, 6(2), 477–485. https://doi.org/10.31849/ZN.V6I2.20539
  13. Permata, R. P., Suharto, R. N., Candra, L., & Julianty, A. (2025). Towards an automated essay evaluation system NLP based text embeddings and similarity metrics. Digital Zone: Jurnal Teknologi Informasi dan Komunikasi, 16(1), 37–46. https://doi.org/10.31849/DIGITALZONE.V16I1.26541
  14. Pradani, K. A., & Suadaa, L. H. (2023). Automated essay scoring menggunakan semantic textual similarity berbasis transformer untuk penilaian ujian esai. Jurnal Teknologi Informasi dan Ilmu Komputer, 10(6), 1177–1184. https://doi.org/10.25126/JTIIK.2023107338
  15. Rangga Bakti, I., Supriyanto, A., & Riki Mustafa, S. (2025). Sistem penilaian esai otomatis berbasis kecerdasan buatan menggunakan pendekatan text mining dan cosine similarity. Riau Jurnal Teknik Informatika, 4(3), 514–521. https://doi.org/10.30606/RJTI.V4I3.4571
  16. Rokhman, N., Maulan, P. A., & Wirahuda, N. A. (2025). Analisis penilaian esai secara otomatis menggunakan natural language processing (NLP) dan cosine similarity. Go Infotech: Jurnal Ilmiah STMIK AUB, 31(1), 41–52. https://doi.org/10.36309/goi.v31i1.359
  17. Saputra, R., Jayanta, & Pradana, M. G. (2024). Implementasi algoritma cosine similarity dan TF-IDF dalam menentukan rumpun jabatan. Krea-TIF: Jurnal Teknik Informatika, 12(1), 1–11. https://doi.org/10.32832/kreatif.v12i1.15470
  18. Saputri, G., & Eriana, E. S. (2020). Implementasi metode waterfall pada perancangan sistem informasi koperasi simpan pinjam berbasis web dan Android (studi kasus PT. PEB). Jurnal Teknik Informatika, 13(2), 133–146. https://doi.org/10.15408/JTI.V13I2.17537
  19. Sitorus, T. M., Ramadhan, E., & Kasyidi, F. (2026). Penilaian otomatis jawaban esai SMA menggunakan sentence-BERT dan hybrid Levenshtein-Jaccard dengan akurasi hybrid. Jurnal Algoritma, 23(1), 39–50. https://doi.org/10.33364/ALGORITMA/V.23-1.3141
  20. Suryani, L., & Edy, K. (2020). Pengembangan aplikasi "lost & found" berbasis Android dengan menggunakan metode term frequency–inverse document frequency (TF-IDF) dan cosine similarity. Electro Luceat, 6(2), 190–204. https://doi.org/10.32531/JELEKN.V6I2.232
  21. Zen, M., Irwan, I., Hafni, H., & Ananda, M. D. P. (2024). Implementasi dan pengujian menggunakan metode blackbox testing pada sistem informasi tracer study. Bulletin of Computer Science Research, 4(4), 327–340. https://doi.org/10.47065/BULLETINCSR.V4I4.359