SENTIMENT ANALYSIS OF PUBLIC COMMENTS ON THE FREE NUTRITIOUS MEAL PROGRAM USING A RULE-BASED APPROACH
Published 2025-08-28
How to Cite
Abstract
Abstract: The Free Nutritious Meal Program (MBG) is a government initiative aimed at improving children’s nutrition and reducing stunting in Indonesia. This study applies a rule-based sentiment analysis approach to evaluate public opinion on the program by analyzing YouTube comments. The dataset was processed through standard text preprocessing techniques, including case folding, stopword removal, and emoji filtering. Sentiment classification was performed using a keyword-based labeling system that categorized comments into positive, negative, and neutral classes. The classification results, visualized using a bar chart, revealed that neutral sentiment dominated the overall public discourse. This suggests that most users expressed uncertainty, factual observations, or non-judgmental questions about the program. Positive sentiment followed, reflecting public support and appreciation for the initiative’s goals. In contrast, negative sentiment accounted for the smallest portion, mainly expressing concerns about food safety and implementation. This study demonstrates that a simple and interpretable rule-based model, when combined with effective preprocessing, can serve as a practical and efficient tool for large-scale public sentiment monitoring. The visualization results provide initial insights for policymakers to improve communication strategies and address public concerns regarding the MBG program.
Â
Keywords: Sentiment Analysis; Public Opinion; Free Nutritious Meal Program (MBG); Stunting Reduction; Policy Evaluation.
Â
Abstrak: Program Makan Bergizi Gratis (MBG) merupakan inisiatif pemerintah untuk meningkatkan gizi anak dan menurunkan angka stunting di Indonesia. Penelitian ini bertujuan mengevaluasi opini publik terhadap program tersebut melalui analisis komentar di platform YouTube dengan pendekatan analisis sentimen berbasis aturan (rule-based). Data dianalisis melalui tahapan preprocessing teks, seperti case folding, penghapusan stopword, dan penyaringan emoji. Klasifikasi sentimen dilakukan menggunakan sistem pelabelan berbasis kata kunci yang membagi komentar ke dalam tiga kategori: positif, negatif, dan netral. Hasil klasifikasi yang divisualisasikan dalam grafik batang menunjukkan bahwa sentimen netral mendominasi komentar publik, mencerminkan ketidakpastian, pertanyaan, atau tanggapan informatif tanpa opini eksplisit. Sentimen positif berada di urutan kedua dan menunjukkan dukungan terhadap program, sementara sentimen negatif paling sedikit, umumnya berisi kekhawatiran terkait pelaksanaan dan keamanan pangan. Temuan ini menunjukkan bahwa pendekatan klasifikasi sederhana yang dipadukan dengan preprocessing yang efektif dapat menjadi alat yang efisien untuk memantau opini publik secara luas. Visualisasi hasil dapat menjadi dasar bagi pengambil kebijakan untuk menyusun strategi komunikasi yang lebih responsif terhadap persepsi masyarakat.
Â
Kata kunci: Analisis Sentimen; Opini Publik; Program Makanan Bergizi Gratis (MBG); Pengurangan Stunting; Evaluasi KebijakanDownloads
References
- Anjas, M. (2024). Optimization of Classification Algorithms Performance with k-Fold Cross Validation. 2.
- Gan, S., Shao, S., Chen, L., Yu, L., & Jiang, L. (2021). Adapting hidden naive bayes for text classification. Mathematics, 9(19), 1–14. https://doi.org/10.3390/math9192378
- HaCohen-Kerner, Y., Miller, D., & Yigal, Y. (2020). The influence of preprocessing on text classification using a bag-of-words representation. PLoS ONE, 15(5), 1–22. https://doi.org/10.1371/journal.pone.0232525
- Maslej-Krešňáková, V., Sarnovský, M., Butka, P., & Machová, K. (2020). Comparison of deep learning models and various text pre-processing techniques for the toxic comments classification. Applied Sciences (Switzerland), 10(23), 1–26. https://doi.org/10.3390/app10238631
- Pasien, P., & Studi, H. (2024). 3 1,2,3. 4, 2020–2025.
- Rizki Surya Pratama, D., Munandar, T. A., & Fadhilla Ramdhania, K. (2024). Multinomial Naive Bayes Algorithm for Indonesian language Sentiment Classification Related to Jakarta International Stadium (JIS). International Journal of Information Technology and Computer Science Applications, 2(1), 12–22. https://doi.org/10.58776/ijitcsa.v2i1.118
- Tembusai, Z. R., Mawengkang, H., & Zarlis, M. (2021). K-Nearest Neighbor with K-Fold Cross Validation and Analytic Hierarchy Process on Data Classification. International Journal of Advances in Data and Information Systems, 2(1), 1–8. https://doi.org/10.25008/ijadis.v2i1.1204
- Utomo, R. Y., & Wibowo, A. (2025). IMPLEMENTASI TEXT MINING PADA ANALISIS SENTIMEN OPINI IMPLEMENTATION OF TEXT MINING IN THE ANALYSIS OF PUBLIC OPINION SENTIMENT TOWARDS THE MOVING OF THE CAPITAL TO. 3(September 2024), 594–602.
- Vanti, M. E. D., Octaviani, V., & Maryaningsih, M. (2024). Analisis Framing Pemberitaan Program Makan Gratis Prabowo Subianto Di Media Online. Professional: Jurnal Komunikasi Dan Administrasi Publik, 11(1), 427–436. https://doi.org/10.37676/professional.v11i1.6396
- Zulfikar, W. B., Atmadja, A. R., & Pratama, S. F. (2023). Sentiment Analysis on Social Media Against Public Policy Using Multinomial Naive Bayes. Scientific Journal of Informatics, 10(1), 25–34. https://doi.org/10.15294/sji.v10i1.39952