Penerapan Natural Language Processing pada Chatbot Edukasi HIV Berbasis Support Vector Machine dan TF-IDF untuk Remaja
DOI:
https://doi.org/10.29407/y2j6nz73Abstract
Human Immunodeficiency Virus merupakan virus yang menyerang sistem kekebalan tubuh dan menjadi permasalahan kesehatan yang signifikan di kalangan remaja. Kurangnya pemahaman tentang HIV menimbulkan stigma dan perilaku berisiko pada kelompok usia tersebut. Penelitian ini bertujuan mengembangkan sistem chatbot edukasi HIV berbasis Natural Language Processing (NLP) menggunakan metode Support Vector Machine (SVM) dan Term Frequency-Inverse Document Frequency (TF-IDF) sebagai perantara peer educator dan remaja. Dataset terdiri dari 300 pasangan pertanyaan dan jawaban yang dikategorikan ke dalam 10 intent. Sistem menggunakan pipeline preprocessing teks yang mencakup cleaning, case folding, tokenisasi, stopword removal, dan stemming. Cosine Similarity diterapkan sebagai typo handler, sementara forward chaining digunakan pada modul kuesioner penilaian risiko. Evaluasi menggunakan confusion matrix menghasilkan akurasi 84%, precision 0,83, recall 0,84, dan F1-score 0,82. Hasil pengujian menunjukkan sistem berjalan sesuai spesifikasi dan efektif sebagai media edukasi HIV bagi remaja.
Keywords:
Chatbot, Edukasi HIV, Natural Language Processing, Support Vector Machine, TF-IDF##plugins.themes.default.displayStats.downloads##
References
[1] J. Ilmiah Manuntung, S. Farmasi Dan Kesehatan, S. Rachmawati, R. Fauzia, and E.
Rachmawati, “PENGETAHUAN MAHASISWA UNIVERSITAS JEMBER
TENTANG HIV/AIDS,” Jurnal Ilmiah Manuntung: Sains Farmasi Dan Kesehatan, vol.
8, no. 1, pp. 106–112, May 2022, doi: 10.51352/JIM.V8I1.502.
[2] World Health Organization (WHO), “Consolidated Guidelines on HIV Prevention,
Testing, Treatment, Service Delivery And Monitoring,” Optics InfoBase Conference
Papers, no. July, p. 249, Jul. 2021, Accessed: Nov. 26, 2025. [Online]. Available: ISBN:
978-92-4-003159-3
[3] J. Keperawatan Silampari Volume, F. Quaesita Qory Lorenz, and H. Permatasari,
“Implementasi Peer Education dalam Meningkatkan Pengetahuan Remaja Mengenai
Kesehatan Reproduksi,” Jurnal Keperawatan Silampari, vol. 6, no. 2, pp. 1817–1826,
May 2023, doi: 10.31539/JKS.V6I2.5867.
[4] A. Sintayehu and E. D. Emiru, “Developing amharic text-based chatbot model for
HIV/AIDS awareness and care using deep learning approaches,” BMC Artificial
Intelligence 2025 1:1, vol. 1, no. 1, pp. 2-, Jun. 2025, doi: 10.1186/S44398-025-00002-
9.
[5] Y. Ma et al., “The first AI-based Chatbot to promote HIV self-management: A mixed
methods usability study,” HIV Med., vol. 26, no. 2, pp. 184–206, Feb. 2025, doi:
10.1111/HIV.13720;PAGE:STRING:ARTICLE/CHAPTER.
[6] A. van Heerden, S. Bosman, D. Swendeman, and W. S. Comulada, “Chatbots for HIV
Prevention and Care: a Narrative Review,” Curr. HIV/AIDS Rep., vol. 20, no. 6, pp. 481–
486, Dec. 2023, doi: 10.1007/S11904-023-00681-X.
[7] R. Guido, S. Ferrisi, D. Lofaro, and D. Conforti, “An Overview on the Advancements of
Support Vector Machine Models in Healthcare Applications: A Review,” Information
2024, Vol. 15, Page 235, vol. 15, no. 4, p. 235, Apr. 2024, doi: 10.3390/INFO15040235.
[8] M. Laymouna, Y. Ma, D. Lessard, T. Schuster, K. Engler, and B. Lebouché, “Roles,
Users, Benefits, and Limitations of Chatbots in Health Care: Rapid Review,” J Med
Internet Res 2024;26:e56930 https://www.jmir.org/2024/1/e56930, vol. 26, no. 1, p.
e56930, Jul. 2024, doi: 10.2196/56930.
[9] M. Siino, I. Tinnirello, and M. La Cascia, “Is text preprocessing still worth the time? A
comparative survey on the influence of popular preprocessing methods on Transformers
and traditional classifiers,” Inf. Syst., vol. 121, pp. 306–4379, 2024, doi:
10.1016/j.is.2023.102342.
[10] L. Zhang, “Features extraction based on Naive Bayes algorithm and TF-IDF for news
classification,” PLoS One, vol. 20, no. 7, p. e0327347, Jul. 2025, doi:
10.1371/JOURNAL.PONE.0327347.
[11] R. Dapari et al., “Developing and validating a knowledge, attitude, and practice
questionnaire regarding dengue among secondary schoolchildren in Malaysia,” Discover
Social Science and Health 2024 4:1, vol. 4, no. 1, pp. 68-, Nov. 2024, doi:
10.1007/S44155-024-00130-Z.
[12] S. Sathyanarayanan and B. R. Tantri, “Confusion Matrix-Based Performance Evaluation
Metrics,” African Journal of Biomedical Research, vol. 27, no. 4S, pp. 4023–4031, Nov.
2024, doi: 10.53555/AJBR.V27I4S.4345.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Copyright on any article is retained by the author(s).
- The author grants the journal, right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work’s authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
- The article and any associated published material is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License