{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T18:59:32Z","timestamp":1790017172467,"version":"4.0.1"},"reference-count":43,"publisher":"Public Library of Science (PLoS)","issue":"9","license":[{"start":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T00:00:00Z","timestamp":1789948800000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["www.plosone.org"],"crossmark-restriction":false},"short-container-title":["PLoS One"],"abstract":"<jats:p>The outbreak of Human Metapneumovirus (HMPV) in China, which later spread to the UK and other countries, raised significant public concern due to its potential impact on vulnerable populations. While HMPV typically causes mild symptoms, its effects on the elderly and immunocompromised individuals prompted health authorities to emphasize preventive measures. Moreover, continuous monitoring of respiratory viruses like HMPV remains important, as new factors (such as emerging variants) could alter their behavior over time. These factors have led to mixed public reactions, with some individuals expressing anxiety while others exhibit carelessness regarding the virus. This paper explores how sentiment analysis can enhance our understanding of public reactions to HMPV by analyzing data from social media platforms like YouTube. It highlights the importance of tracking public sentiment\u2014ranging from fear to trust\u2014to guide health messaging, inform policies, address misinformation, and encourage compliance with preventive measures during outbreaks. This study focuses on the use of sentiment analysis to understand public reactions to HMPV during the 2024 outbreak. The research applies advanced transformer models, particularly XLNet, achieving an accuracy of 93.50% in sentiment classification tasks. Additionally, We incorporate explainable AI (XAI) through SHAP to provide transparency in how the model identifies key factors influencing public sentiment.<\/jats:p>","DOI":"10.1371\/journal.pone.0351265","type":"journal-article","created":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T17:59:58Z","timestamp":1790013598000},"page":"e0351265","update-policy":"https:\/\/doi.org\/10.1371\/journal.pone.corrections_policy","source":"Crossref","is-referenced-by-count":0,"title":["Explainable AI for sentiment analysis of human metapneumovirus (HMPV) using XLNet"],"prefix":"10.1371","volume":"21","author":[{"given":"Md Shahriar Hossain","family":"Apu","sequence":"first","affiliation":[{"name":"University of Frontier Technology","place":["Bangladesh, Bangladesh"],"department":["Department of IoT and Robotics Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Md Saiful","family":"Islam","sequence":"additional","affiliation":[{"name":"University of Frontier Technology","place":["Bangladesh, Bangladesh"],"department":["Department of Educational Technology and Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1471-1316","authenticated-orcid":true,"given":"Tanjim Taharat","family":"Aurpa","sequence":"additional","affiliation":[{"name":"University of Frontier Technology","place":["Bangladesh, Bangladesh"],"department":["Department of Data Science and Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sharad","family":"Hasan","sequence":"additional","affiliation":[{"name":"University of Frontier Technology","place":["Bangladesh, Bangladesh"],"department":["Department of Data Science and Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"340","published-online":{"date-parts":[[2026,9,21]]},"reference":[{"issue":"2","key":"pone.0351265.ref001","doi-asserted-by":"crossref","first-page":"194","DOI":"10.3947\/ic.2025.0019","article-title":"Human Metapneumovirus: A Comprehensive Epidemiological Analysis of a Global Respiratory Threat","volume":"57","author":"S Bhattacharya","year":"2025","journal-title":"Infect Chemother"},{"key":"pone.0351265.ref002","unstructured":"Clinic C. Human Metapneumovirus (hMPV). Cleveland Clinic. 2025. https:\/\/my.clevelandclinic.org\/health\/diseases\/22443-human-metapneumovirus-hmpv"},{"issue":"7","key":"pone.0351265.ref003","doi-asserted-by":"crossref","first-page":"1508","DOI":"10.3390\/microorganisms13071508","article-title":"hMPV Outbreaks: Worldwide Implications of a Re-Emerging Respiratory Pathogen","volume":"13","author":"A Lianou","year":"2025","journal-title":"Microorganisms"},{"key":"pone.0351265.ref004","unstructured":"News B. Human metapneumovirus spikes in several northern hemisphere countries. 2025. https:\/\/www.bbc.com\/news\/articles\/c23vjg7v7k0o"},{"key":"pone.0351265.ref005","unstructured":"World Health Organization. Acute Respiratory Infections and Human Metapneumovirus in Northern Hemisphere. 2025. https:\/\/www.who.int\/emergencies\/disease-outbreak-news\/item\/2025-DON550"},{"key":"pone.0351265.ref006","doi-asserted-by":"crossref","first-page":"100059","DOI":"10.1016\/j.nlp.2024.100059","article-title":"Recent advancements and challenges of NLP-based sentiment analysis: A state-of-the-art review","volume":"6","author":"JR Jim","year":"2024","journal-title":"Natural Language Processing Journal"},{"issue":"4","key":"pone.0351265.ref007","doi-asserted-by":"crossref","first-page":"102048","DOI":"10.1016\/j.jksuci.2024.102048","article-title":"Sentiment analysis methods, applications, and challenges: A systematic literature review","volume":"36","author":"Y Mao","year":"2024","journal-title":"Journal of King Saud University - Computer and Information Sciences"},{"issue":"5","key":"pone.0351265.ref008","doi-asserted-by":"crossref","first-page":"3339","DOI":"10.1007\/s11063-021-10547-1","article-title":"Named Entity Recognition by Using XLNet-BiLSTM-CRF","volume":"53","author":"R Yan","year":"2021","journal-title":"Neural Process Lett"},{"key":"pone.0351265.ref009","doi-asserted-by":"crossref","first-page":"90828","DOI":"10.1109\/ACCESS.2021.3091394","article-title":"Sentence-Level Aspect-Based Sentiment Analysis for Classifying Adverse Drug Reactions (ADRs) Using Hybrid Ontology-XLNet Transfer Learning","volume":"9","author":"AH Sweidan","year":"2021","journal-title":"IEEE Access"},{"issue":"15","key":"pone.0351265.ref010","doi-asserted-by":"crossref","first-page":"13789","DOI":"10.1609\/aaai.v35i15.17625","article-title":"DialogXL: All-in-One XLNet for Multi-Party Conversation Emotion Recognition","volume":"35","author":"W Shen","year":"2021","journal-title":"AAAI"},{"key":"pone.0351265.ref011","doi-asserted-by":"crossref","first-page":"45","DOI":"10.1016\/j.ijid.2014.03.1394","article-title":"Human metapneumovirus: review of an important respiratory pathogen","volume":"25","author":"S Panda","year":"2014","journal-title":"Int J Infect Dis"},{"issue":"1","key":"pone.0351265.ref012","doi-asserted-by":"crossref","first-page":"73","DOI":"10.3390\/microorganisms13010073","article-title":"The Silent Threat of Human Metapneumovirus: Clinical Challenges and Diagnostic Insights from a Severe Pneumonia Case","volume":"13","author":"RC Costa-Filho","year":"2025","journal-title":"Microorganisms"},{"issue":"3","key":"pone.0351265.ref013","doi-asserted-by":"crossref","first-page":"262","DOI":"10.3390\/pathogens14030262","article-title":"Epidemiology, Clinical Significance, and Diagnosis of Respiratory Viruses and Their Co-Infections in the Post-COVID Era","volume":"14","author":"KM Contes","year":"2025","journal-title":"Pathogens"},{"key":"pone.0351265.ref014","first-page":"520","article-title":"Sentiment analysis using natural language processing and machine learning","volume":"38","author":"S Kannappan","year":"2023","journal-title":"J Data Acquis Process"},{"key":"pone.0351265.ref015","doi-asserted-by":"crossref","unstructured":"Kavitha M, Naib BB, Mallikarjuna B, Kavitha R, Srinivasan R. Sentiment Analysis using NLP and Machine Learning Techniques on Social Media Data. In: 2022 2nd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), 2022. 112\u20135. https:\/\/doi.org\/10.1109\/icacite53722.2022.9823708","DOI":"10.1109\/ICACITE53722.2022.9823708"},{"issue":"3","key":"pone.0351265.ref016","doi-asserted-by":"crossref","first-page":"102541","DOI":"10.1016\/j.ipm.2021.102541","article-title":"A little bird told me your gender: Gender inferences in social media","volume":"58","author":"E Fosch-Villaronga","year":"2021","journal-title":"Information Processing & Management"},{"key":"pone.0351265.ref017","doi-asserted-by":"crossref","unstructured":"Srivastava S, Nagpal A, Bagwari A. Various Approaches in Sentiment Analysis. In: 2020 12th International Conference on Computational Intelligence and Communication Networks (CICN), 2020. 92\u20136. https:\/\/doi.org\/10.1109\/cicn49253.2020.9242618","DOI":"10.1109\/CICN49253.2020.9242618"},{"key":"pone.0351265.ref018","unstructured":"Gunasekaran KP. Exploring sentiment analysis techniques in natural language processing: A comprehensive review. 2023."},{"key":"pone.0351265.ref019","doi-asserted-by":"crossref","unstructured":"Chong WY, Selvaretnam B, Soon LK. Natural Language Processing for Sentiment Analysis: An Exploratory Analysis on Tweets. In: 2014 4th International Conference on Artificial Intelligence with Applications in Engineering and Technology. 2014. 212\u20137.","DOI":"10.1109\/ICAIET.2014.43"},{"key":"pone.0351265.ref020","first-page":"1","article-title":"Real time sentiment analysis of natural language using multimedia input","author":"R Jain","year":"2023","journal-title":"Multimed Tools Appl"},{"issue":"7","key":"pone.0351265.ref021","doi-asserted-by":"crossref","first-page":"5731","DOI":"10.1007\/s10462-022-10144-1","article-title":"A survey on sentiment analysis methods, applications, and challenges","volume":"55","author":"M Wankhade","year":"2022","journal-title":"Artif Intell Rev"},{"issue":"11","key":"pone.0351265.ref022","doi-asserted-by":"crossref","first-page":"221","DOI":"10.3390\/computers12110221","article-title":"Investigation of the Gender-Specific Discourse about Online Learning during COVID-19 on Twitter Using Sentiment Analysis, Subjectivity Analysis, and Toxicity Analysis","volume":"12","author":"N Thakur","year":"2023","journal-title":"Computers"},{"key":"pone.0351265.ref023","doi-asserted-by":"crossref","unstructured":"Al-Garaady J, Albuhairy MM. Public sentiment analysis in social media on the SARS-CoV-2 vaccination using VADER lexicon polarity. Humanities and Educational Sciences Journal. 2022;:591\u2013609.","DOI":"10.55074\/hesj.v0i22.476"},{"issue":"1","key":"pone.0351265.ref024","doi-asserted-by":"crossref","DOI":"10.1186\/s43067-023-00070-9","article-title":"Sentiment analysis of COVID-19 tweets from selected hashtags in Nigeria using VADER and Text Blob analyser","volume":"10","author":"O Abiola","year":"2023","journal-title":"Journal of Electrical Systems and Inf Technol"},{"issue":"1","key":"pone.0351265.ref025","doi-asserted-by":"crossref","first-page":"372","DOI":"10.47709\/brilliance.v5i1.6329","article-title":"Sentiment Analysis to Detect Public Anxiety About the HMPV Virus On Social Media","volume":"5","author":"H Purba","year":"2025","journal-title":"Brilliance"},{"issue":"1","key":"pone.0351265.ref026","doi-asserted-by":"crossref","first-page":"34","DOI":"10.33333\/lajc.vol13n1.03","article-title":"Sentiment and Linguistic Analysis of Epidemic Outbreak Data from Official and Alternative Sources","volume":"13","author":"KM Ord\u00f3\u00f1ez Guerrero","year":"2026","journal-title":"LAJC"},{"key":"pone.0351265.ref027","first-page":"126","article-title":"Hybrid Contextual Embeddings with Attention Mechanisms for Enhanced Sentiment Analysis in COVID-19 Tweets","volume-title":"Communications in Computer and Information Science","author":"J Arunadevi","year":"2026"},{"key":"pone.0351265.ref028","unstructured":"Faisal MMA, Jhuma RA, Jasim J. Comparative sentiment analysis of public perception: Monkeypox vs. COVID-19 behavioral insights. In: 2025. https:\/\/arxiv.org\/abs\/250507430"},{"key":"pone.0351265.ref029","first-page":"371","article-title":"VADER vs. BERT: A Comparative Performance Analysis for Sentiment on Coronavirus Outbreak","volume-title":"Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering","author":"S Saha","year":"2023"},{"issue":"2","key":"pone.0351265.ref030","doi-asserted-by":"crossref","DOI":"10.1007\/s42452-025-08121-8","article-title":"Attention based hybrid deep learning models for multi class Amharic news categorization with Explainable AI","volume":"8","author":"AA Alemu","year":"2025","journal-title":"Discov Appl Sci"},{"key":"pone.0351265.ref031","unstructured":"Opu SH. Dataset of sentiment analysis of HMPV. 2025. https:\/\/github.com\/Shahriar-Hossain-Opu\/HMPV-Dataset"},{"key":"pone.0351265.ref032","doi-asserted-by":"crossref","unstructured":"Krouska A, Troussas C, Virvou M. The effect of preprocessing techniques on Twitter sentiment analysis. In: 2016 7th International Conference on Information, Intelligence, Systems & Applications (IISA), 2016. 1\u20135. https:\/\/doi.org\/10.1109\/iisa.2016.7785373","DOI":"10.1109\/IISA.2016.7785373"},{"issue":"1","key":"pone.0351265.ref033","article-title":"A review: preprocessing techniques and data augmentation for sentiment analysis","volume":"8","author":"H-T Duong","year":"2021","journal-title":"Comput Soc Netw"},{"key":"pone.0351265.ref034","doi-asserted-by":"crossref","unstructured":"Bhuiyan H, Ara J, Bardhan R, Islam MdR. Retrieving YouTube video by sentiment analysis on user comment. In: 2017 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), 2017. 474\u20138. https:\/\/doi.org\/10.1109\/icsipa.2017.8120658","DOI":"10.1109\/ICSIPA.2017.8120658"},{"key":"pone.0351265.ref035","first-page":"191","article-title":"Application of Lemmatization and Summarization Methods in Topic Identification Module for Large Scale Language Modeling Data Filtering","volume-title":"Lecture Notes in Computer Science","author":"L Skorkovsk\u00e1","year":"2012"},{"issue":"1","key":"pone.0351265.ref036","doi-asserted-by":"crossref","first-page":"216","DOI":"10.1609\/icwsm.v8i1.14550","article-title":"VADER: A Parsimonious Rule-Based Model for Sentiment Analysis of Social Media Text","volume":"8","author":"C Hutto","year":"2014","journal-title":"ICWSM"},{"issue":"2","key":"pone.0351265.ref037","first-page":"78","article-title":"Simple random sampling","volume":"1","author":"S Noor","year":"2022","journal-title":"International Journal of Education & Language Studies"},{"key":"pone.0351265.ref038","unstructured":"Yang Z, Dai Z, Yang Y, Carbonell J, Salakhutdinov R, Le QV. XLNet: Generalized Autoregressive Pretraining for Language Understanding. 2020. https:\/\/arxiv.org\/abs\/1906.08237"},{"issue":"10","key":"pone.0351265.ref039","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pone.0311161","article-title":"InstructNet: A novel approach for multi-label instruction classification through advanced deep learning","volume":"19","author":"TT Aurpa","year":"2024","journal-title":"PLoS One"},{"key":"pone.0351265.ref040","doi-asserted-by":"crossref","first-page":"415","DOI":"10.62051\/h08exg91","article-title":"Comparative Evaluation of GPT, BERT, and XLNet: Insights into Their Performance and Applicability in NLP Tasks","volume":"7","author":"C Zhou","year":"2024","journal-title":"TCSISR"},{"issue":"2","key":"pone.0351265.ref041","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pone.0342558","article-title":"Bangla MedER: Multi-BERT ensemble approach for the recognition of Bangla medical entity","volume":"21","author":"TT Aurpa","year":"2026","journal-title":"PLoS One"},{"key":"pone.0351265.ref042","doi-asserted-by":"crossref","unstructured":"Aurpa TT. Automated Multilabel Mpox Research Classification With Explainable Transformer Models. Applied Computational Intelligence and Soft Computing. 2026;2026(1):8986650.","DOI":"10.1155\/acis\/8986650"},{"issue":"1","key":"pone.0351265.ref043","doi-asserted-by":"crossref","first-page":"13038","DOI":"10.1038\/s41598-026-43507-7","article-title":"Transparent AI for mathematics: transformer-based large language models for mathematical entity relationship extraction with XAI","volume":"16","author":"TT Aurpa","year":"2026","journal-title":"Sci Rep"}],"container-title":["PLOS One"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0351265","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T18:00:14Z","timestamp":1790013614000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0351265"}},"subtitle":[],"editor":[{"given":"Benjamin M.","family":"Liu","sequence":"first","affiliation":[{"name":"Children\u2019s National Hospital, George Washington University","place":["UNITED STATES OF AMERICA"]}],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2026,9,21]]},"references-count":43,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2026,9,21]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pone.0351265","relation":{},"ISSN":["1932-6203"],"issn-type":[{"value":"1932-6203","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,21]]}}}