Applying BERT and ChatGPT for Sentiment Analysis of Lyme Disease in Scientific Literature
- PMID: 38165624
- DOI: 10.1007/978-1-0716-3561-2_14
Applying BERT and ChatGPT for Sentiment Analysis of Lyme Disease in Scientific Literature
Abstract
This chapter presents a practical guide for conducting sentiment analysis using Natural Language Processing (NLP) techniques in the domain of tick-borne disease text. The aim is to demonstrate the process of how the presence of bias in the discourse surrounding chronic manifestations of the disease can be evaluated. The goal is to use a dataset of 5643 abstracts collected from scientific journals on the topic of chronic Lyme disease to demonstrate using Python, the steps for conducting sentiment analysis using pretrained language models and the process of validating the preliminary results using both interpretable machine learning tools, as well as a novel methodology of leveraging emerging state-of-the-art large language models like ChatGPT. This serves as a useful resource for researchers and practitioners interested in using NLP techniques for sentiment analysis in the medical domain.
Keywords: BERT; ChatGPT; Explainable AI; Language models; Lyme disease text analysis; NLP; SHAP; Sentiment analysis.
© 2024. The Author(s), under exclusive license to Springer Science+Business Media, LLC, part of Springer Nature.
Similar articles
-
Transfer Learning for Sentiment Analysis Using BERT Based Supervised Fine-Tuning.Sensors (Basel). 2022 May 30;22(11):4157. doi: 10.3390/s22114157. Sensors (Basel). 2022. PMID: 35684778 Free PMC article.
-
Understanding the Perceptions of Healthcare Researchers Regarding ChatGPT: A Study Based on Bidirectional Encoder Representation from Transformers (BERT) Sentiment Analysis and Topic Modeling.Ann Biomed Eng. 2023 Aug;51(8):1654-1656. doi: 10.1007/s10439-023-03222-0. Epub 2023 May 2. Ann Biomed Eng. 2023. PMID: 37129780
-
Multi-class sentiment analysis of urdu text using multilingual BERT.Sci Rep. 2022 Mar 31;12(1):5436. doi: 10.1038/s41598-022-09381-9. Sci Rep. 2022. PMID: 35361890 Free PMC article.
-
Pre-trained language models in medicine: A survey.Artif Intell Med. 2024 Aug;154:102904. doi: 10.1016/j.artmed.2024.102904. Epub 2024 Jun 5. Artif Intell Med. 2024. PMID: 38917600 Review.
-
Natural Language Processing Applications in the Clinical Neurosciences: A Machine Learning Augmented Systematic Review.Acta Neurochir Suppl. 2022;134:277-289. doi: 10.1007/978-3-030-85292-4_32. Acta Neurochir Suppl. 2022. PMID: 34862552
Cited by
-
Human-interpretable clustering of short text using large language models.R Soc Open Sci. 2025 Jan 22;12(1):241692. doi: 10.1098/rsos.241692. eCollection 2025 Jan. R Soc Open Sci. 2025. PMID: 39845717 Free PMC article.
-
Affective polarization in a word: Open-ended and self-coded evaluations of partisan affect.PLoS One. 2025 Jan 16;20(1):e0310772. doi: 10.1371/journal.pone.0310772. eCollection 2025. PLoS One. 2025. PMID: 39820604 Free PMC article.
-
BERT-based language model for accurate drug adverse event extraction from social media: implementation, evaluation, and contributions to pharmacovigilance practices.Front Public Health. 2024 Apr 23;12:1392180. doi: 10.3389/fpubh.2024.1392180. eCollection 2024. Front Public Health. 2024. PMID: 38716250 Free PMC article.
-
Large Language Model Architectures in Health Care: Scoping Review of Research Perspectives.J Med Internet Res. 2025 Jun 19;27:e70315. doi: 10.2196/70315. J Med Internet Res. 2025. PMID: 40536801 Free PMC article.
References
-
- Levesque M, Klohn M (2019) A multiple streams approach to understanding the issues and challenges of Lyme disease management in Canada’s maritime provinces. Int J Environ Res Public Health 16(9):1531. https://doi.org/10.3390/ijerph16091531 - DOI - PubMed - PMC
-
- Rebman AW, Aucott JN (2020) Post-treatment Lyme disease as a model for persistent symptoms in Lyme disease. Front Med (Lausanne) 25(7):57. https://doi.org/10.3389/fmed.2020.00057 - DOI
-
- Wong KH, Shapiro ED, Soffer GK (2022) A review of post-treatment Lyme disease syndrome and chronic Lyme disease for the practicing immunologist. Clin Rev Allergy Immunol 62(1):264–271. https://doi.org/10.1007/s12016-021-08906-w - DOI - PubMed
-
- Halperin JJ (2015) Chronic Lyme disease: misconceptions and challenges for patient management. Infect Drug Resist 8:119–128. https://doi.org/10.2147/IDR.S66739 - DOI - PubMed - PMC
-
- Devlin J, Chang MW, Lee K, Toutanova K (2018) Bert: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2018 conference of the North American chapter of the association for computational linguistics: human language technology, vol. 1, pp 4171–4186. https://doi.org/10.48550/arXiv.1810.04805
MeSH terms
LinkOut - more resources
Full Text Sources
Medical