Sentiment Analysis to Detect Public Anxiety About the HMPV Virus On Social Media
DOI:
https://doi.org/10.47709/brilliance.v5i1.6329Keywords:
Sentiment, HMPV, Word2Vec, Bi-LSTM, anxietyAbstract
This study aims to analyze the level of public anxiety towards the Human Metapneumovirus (HMPV) virus, through a sentiment analysis approach carried out on social media. In this study, the Word2Vec model is used as the main method for feature extraction, which functions to represent words based on relevant semantic contexts. This approach allows for a deeper understanding of the meaning of words in people's comments and posts. In addition, two main classification algorithms, namely Support Vector Machine (SVM) and Bidirectional Long Short-Term Memory (Bi-LSTM), are evaluated to determine their effectiveness in detecting and classifying primary sentiments, whether positive, negative, or neutral. The data collected came from Twitter using a special crawling method, resulting in 5,000 tweets that have been manually labeled according to their categories. The results showed that the Word2Vec model with a 200-dimensional vector was able to capture relevant and deep semantic meanings towards social and health contexts. For the classification algorithm, SVM obtained an accuracy of 82.67%, although it had difficulty identifying neutral sentiments. In contrast, Bi-LSTM performed better, with an accuracy of 89.72%, and was able to recognize emotional patterns that were not explicitly visible in the data. These findings confirm that the combination of Word2Vec and Bi-LSTM is the most effective approach to detecting public anxiety about health issues. This study also provides important insights into the dynamics of public sentiment on social media and opens up opportunities for the development of more adaptive sentiment analysis models in the future.
References
Afif Muhtar, A., & Rohman, M. (2023). Media dalam Kehidupan Masyarakat. Indo-MathEdu Intellectuals Journal, 4(3), 2976–2985. https://doi.org/10.54373/imeij.v4i3.508
Farid, A. B., Fathy, E. M., Eldin, A. S., & Abd-Elmegid, L. A. (2021). Software defect prediction using hybrid model (CBIL) of convolutional neural network (CNN) and bidirectional long short-term memory (Bi-LSTM). PeerJ Computer Science, 7, 1–22. https://doi.org/10.7717/peerj-cs.739
Feng, Y., He, T., Zhang, B., Yuan, H., & Zhou, Y. (2024). Epidemiology and diagnosis technologies of human metapneumovirus in China: a mini review. Virology Journal, 21(1). https://doi.org/10.1186/s12985-024-02327-9
Lwin, M. O., Lu, J., Sheldenkar, A., Schulz, P. J., Shin, W., Gupta, R., & Yang, Y. (2020). Global sentiments surrounding the COVID-19 pandemic on Twitter: Analysis of Twitter trends. JMIR Public Health and Surveillance, 6(2). https://doi.org/10.2196/19447
Mishra, B., Mohapatra, D., Tripathy, M., Mamidi, P., & Mohapatra, P. R. (2025). A Re-emerging Respiratory Virus: Human Metapneumovirus (hMPV). Cureus, 17. https://doi.org/10.7759/cureus.78354
Muttaqin, R. (2022). Analisis Yuridis Peran Pemerintah Kabupaten Gayo Dalam Perlindungan Indikasi Geografis Terhadap Produk Lokal. Locus: Jurnal Konsep Ilmu Hukum, 2(4), 185–204. https://doi.org/10.56128/jkih.v2i4.35
Nao, N., Saikusa, M., Sato, K., Sekizuka, T., Usuku, S., Tanaka, N., Nishimura, H., & Takeda, M. (2020). Recent molecular evolution of human metapneumovirus (HMPV): Subdivision of HMPV a2b strains. Microorganisms, 8(9), 1–14. https://doi.org/10.3390/microorganisms8091280
Naufal, F., Rinaldi Dikananda, A., & Rohman, D. (2025). ANALISIS SEGMENTASI PELANGGAN VOUCHER WIFI DENGAN METODE K-MEANS. Jurnal Informatika Teknologi Dan Sains (JINTEKS), 7(1), 81–90.
Nurcholilah, Suherman, & Anshor, A. H. (2023). Analisis Sentimen Masyarakat Pada Twitter Terhadap Kasus HIV/AIIDS Di Indonesia Menggunakan Algoritma Naïve Bayes. Jurnal Ilmiah Wahana Pendidikan, 2023(14), 584–599. https://doi.org/10.5281/zenodo.8185186
Nurhazizah, E., Ichsan, R. N., & Widiyanesti, S. (2022). Analisis Sentimen Dan Jaringan Sosial Pada Penyebaran Informasi Vaksinasi Di Twitter. JURNAL SWABUMI, 10(1), 2022.
Prasetyoningrum, D., & Andono, P. N. (2024). Perbandingan Model Machine Learning dalam Analisis Sentimen Pada Kasus Monkeypox di Media Sosial X. Building of Informatics, Technology and Science (BITS), 6(3), 2005–2014. https://doi.org/10.47065/bits.v6i3.6447
Rehman, A., Harouni, M., Karimi, M., Saba, T., Bahaj, S. A., & Awan, M. J. (2022). Microscopic retinal blood vessels detection and segmentation using support vector machine and K-nearest neighbors. Microscopy Research and Technique, 85(5), 1899–1914. https://doi.org/10.1002/jemt.24051
Ryandi, F. A., Pratiwi, D., & Sari, S. (2025). Analisis Sentimen Masyarakat Di Media Sosial X Terhadap Kemenkes Dengan Naive Bayes dan SVM. Jurnal Sains Dan Teknologi, 7(1), 1–6. https://doi.org/10.55338/saintek.v7i1.4615
Samuel, J., Ali, G. G. M. N., Rahman, M. M., Esawi, E., & Samuel, Y. (2020). COVID-19 public sentiment insights and machine learning for tweets classification. Information (Switzerland), 11(6). https://doi.org/10.3390/info11060314
Saqlain, S. M., Nawaz, A., Khan, I., Shah, F. A., & Ashraf, M. U. (2016). Text Clusters Labeling using WordNet and Term Frequency-Inverse Document Frequency. Proceedings of the Pakistan Academy of Sciences: Pakistan Academy of Sciences A. Physical and Computational Sciences, 53.
Weston, S., & Frieman, M. B. (2019). Respiratory viruses. Encyclopedia of Microbiology, 85–101. https://doi.org/10.1016/B978-0-12-801238-3.66161-5
Wijaya, F., & Parjito. (2025). Analisis Sentimen Publik terhadap Virus HMPV Berdasarkan Media Sosial X dengan Algoritma Logistic Regression. Building of Informatics, Technology and Science (BITS), 6(4). https://doi.org/10.47065/bits.v6i4.7053
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Handryansyah Purba, Erwin Setiawan Panjaitan

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















