Payal Chakraborty, Xia Ning, Mary McNeill, David M Kline, Abigail B Shoben, William C Miller, Abigail Norris Turner
{"title":"使用自然语言处理(NLP)方法预测2019年俄亥俄州梅毒干预专家(DIS)记录中包含的主题","authors":"Payal Chakraborty, Xia Ning, Mary McNeill, David M Kline, Abigail B Shoben, William C Miller, Abigail Norris Turner","doi":"10.1097/OLQ.0000000000002135","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Free-text notes in disease intervention specialist (DIS) records may contain relevant information for sexual transmitted infection control. In their current form, the notes are not analyzable without manual reading, which is labor-intensive and prone to error.</p><p><strong>Methods: </strong>We used natural language processing methods to analyze 2019 Ohio DIS syphilis records with nonmissing notes (n = 1987). We identified 21 topics relevant for transmission and case investigations. We manually coded these records to create \"gold standard\" labels for each topic (0 = topic not present, 1 = topic present), then trained machine learning models to identify the topics in the text. For models to analyze text data, the text must be converted to numbers. We explored 2 approaches to numerically represent words: (1) term frequency, inverse document frequency, which measures importance of words based on how many times they appear in a record and in the dataset as a whole, and (2) GloVe embeddings, which are numerical vectors that were developed by researchers for each word in the English language to encode its semantic meaning. We explored 3 types of statistical models (naive Bayes, support vector machine, and logistic regression) using term frequency, inverse document frequency, and 1 type of neural network model (long short-term memory [LSTM] model) using GloVe. All models were used for binary prediction (i.e., topic not present, topic present).</p><p><strong>Results: </strong>For most topics, the LSTM model performed the best overall in identifying topics, and the support vector machine model performed the best among the statistical models. For example, the LSTM model predicted the topic \"substance use\" with high accuracy (97%), sensitivity (92%), and specificity (98%). No model performed well for uncommon topics (e.g., \"alcohol use\" or \"delays in care\").</p><p><strong>Conclusions: </strong>Machine learning models performed well in identifying some topics in 2019 Ohio syphilis records. This analysis is a first step in applying natural language processing methods to making DIS notes more accessible for analysis.</p>","PeriodicalId":21837,"journal":{"name":"Sexually transmitted diseases","volume":" ","pages":"356-363"},"PeriodicalIF":1.7000,"publicationDate":"2025-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12064372/pdf/","citationCount":"0","resultStr":"{\"title\":\"Using Natural Language Processing Methods to Predict Topics Included in 2019 Ohio Syphilis Disease Intervention Specialist Records.\",\"authors\":\"Payal Chakraborty, Xia Ning, Mary McNeill, David M Kline, Abigail B Shoben, William C Miller, Abigail Norris Turner\",\"doi\":\"10.1097/OLQ.0000000000002135\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Free-text notes in disease intervention specialist (DIS) records may contain relevant information for sexual transmitted infection control. In their current form, the notes are not analyzable without manual reading, which is labor-intensive and prone to error.</p><p><strong>Methods: </strong>We used natural language processing methods to analyze 2019 Ohio DIS syphilis records with nonmissing notes (n = 1987). We identified 21 topics relevant for transmission and case investigations. We manually coded these records to create \\\"gold standard\\\" labels for each topic (0 = topic not present, 1 = topic present), then trained machine learning models to identify the topics in the text. For models to analyze text data, the text must be converted to numbers. We explored 2 approaches to numerically represent words: (1) term frequency, inverse document frequency, which measures importance of words based on how many times they appear in a record and in the dataset as a whole, and (2) GloVe embeddings, which are numerical vectors that were developed by researchers for each word in the English language to encode its semantic meaning. We explored 3 types of statistical models (naive Bayes, support vector machine, and logistic regression) using term frequency, inverse document frequency, and 1 type of neural network model (long short-term memory [LSTM] model) using GloVe. All models were used for binary prediction (i.e., topic not present, topic present).</p><p><strong>Results: </strong>For most topics, the LSTM model performed the best overall in identifying topics, and the support vector machine model performed the best among the statistical models. For example, the LSTM model predicted the topic \\\"substance use\\\" with high accuracy (97%), sensitivity (92%), and specificity (98%). No model performed well for uncommon topics (e.g., \\\"alcohol use\\\" or \\\"delays in care\\\").</p><p><strong>Conclusions: </strong>Machine learning models performed well in identifying some topics in 2019 Ohio syphilis records. This analysis is a first step in applying natural language processing methods to making DIS notes more accessible for analysis.</p>\",\"PeriodicalId\":21837,\"journal\":{\"name\":\"Sexually transmitted diseases\",\"volume\":\" \",\"pages\":\"356-363\"},\"PeriodicalIF\":1.7000,\"publicationDate\":\"2025-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12064372/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Sexually transmitted diseases\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1097/OLQ.0000000000002135\",\"RegionNum\":4,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2025/2/11 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q3\",\"JCRName\":\"INFECTIOUS DISEASES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sexually transmitted diseases","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1097/OLQ.0000000000002135","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/11 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"INFECTIOUS DISEASES","Score":null,"Total":0}
Using Natural Language Processing Methods to Predict Topics Included in 2019 Ohio Syphilis Disease Intervention Specialist Records.
Background: Free-text notes in disease intervention specialist (DIS) records may contain relevant information for sexual transmitted infection control. In their current form, the notes are not analyzable without manual reading, which is labor-intensive and prone to error.
Methods: We used natural language processing methods to analyze 2019 Ohio DIS syphilis records with nonmissing notes (n = 1987). We identified 21 topics relevant for transmission and case investigations. We manually coded these records to create "gold standard" labels for each topic (0 = topic not present, 1 = topic present), then trained machine learning models to identify the topics in the text. For models to analyze text data, the text must be converted to numbers. We explored 2 approaches to numerically represent words: (1) term frequency, inverse document frequency, which measures importance of words based on how many times they appear in a record and in the dataset as a whole, and (2) GloVe embeddings, which are numerical vectors that were developed by researchers for each word in the English language to encode its semantic meaning. We explored 3 types of statistical models (naive Bayes, support vector machine, and logistic regression) using term frequency, inverse document frequency, and 1 type of neural network model (long short-term memory [LSTM] model) using GloVe. All models were used for binary prediction (i.e., topic not present, topic present).
Results: For most topics, the LSTM model performed the best overall in identifying topics, and the support vector machine model performed the best among the statistical models. For example, the LSTM model predicted the topic "substance use" with high accuracy (97%), sensitivity (92%), and specificity (98%). No model performed well for uncommon topics (e.g., "alcohol use" or "delays in care").
Conclusions: Machine learning models performed well in identifying some topics in 2019 Ohio syphilis records. This analysis is a first step in applying natural language processing methods to making DIS notes more accessible for analysis.
期刊介绍:
Sexually Transmitted Diseases, the official journal of the American Sexually Transmitted Diseases Association, publishes peer-reviewed, original articles on clinical, laboratory, immunologic, epidemiologic, behavioral, public health, and historical topics pertaining to sexually transmitted diseases and related fields. Reports from the CDC and NIH provide up-to-the-minute information. A highly respected editorial board is composed of prominent scientists who are leaders in this rapidly changing field. Included in each issue are studies and developments from around the world.