Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024:2742:173-183.
doi: 10.1007/978-1-0716-3561-2_14.

Applying BERT and ChatGPT for Sentiment Analysis of Lyme Disease in Scientific Literature

Affiliations

Applying BERT and ChatGPT for Sentiment Analysis of Lyme Disease in Scientific Literature

Teo Susnjak. Methods Mol Biol. 2024.

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.

PubMed Disclaimer

Similar articles

Cited by

References

    1. 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
    1. 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
    1. 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
    1. 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
    1. 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

LinkOut - more resources