Background: Since the beginning of the COVID-19 pandemic, over 480 million people have been infected and more than 6 million people have died from COVID-19 worldwide. In some patients with acute COVID-19, symptoms manifest over a longer period, which is also called “long-COVID.” Unmet medical needs related to long-COVID are high, since there are no treatments approved. Patients experiment with various medications and supplements hoping to alleviate their suffering. They often share their experiences on social media.
Objective: The aim of this study was to explore the feasibility of social media mining methods to extract important compounds from the perspective of patients. The goal is to provide an overview of different medication strategies and important agents mentioned in Reddit users’ self-reports to support hypothesis generation for drug repurposing, by incorporating patients’ experiences.
Methods: We used named-entity recognition to extract substances representing medications or supplements used to treat long-COVID from almost 70,000 posts on the “/r/covidlonghaulers” subreddit. We analyzed substances by frequency, co-occurrences, and network analysis to identify important substances and substance clusters.
Results: The named-entity recognition algorithm achieved an F1 score of 0.67. A total of 28,447 substance entities and 5789 word co-occurrence pairs were extracted. “Histamine antagonists,” “famotidine,” “magnesium,” “vitamins,” and “steroids” were the most frequently mentioned substances. Network analysis revealed three clusters of substances, indicating certain medication patterns.
Conclusions: This feasibility study indicates that network analysis can be used to characterize the medication strategies discussed in social media. Comparison with existing literature shows that this approach identifies substances that are promising candidates for drug repurposing, such as antihistamines, steroids, or antidepressants. In the context of a pandemic, the proposed method could be used to support drug repurposing hypothesis development by prioritizing substances that are important to users.
Since the beginning of the COVID-19 pandemic, over 480 million people have been infected and more than 6 million people have died from COVID-19 worldwide . In some patients with acute COVID-19, symptoms manifest over a longer period of time [ ]. Owing to this phenomenon, the term “long-COVID” (LC) has emerged [ ]. LC refers to both postacute (lasting longer than 4 weeks) and chronic (lasting longer than 12 weeks) symptoms [ , ]. At least one symptom persists in 32%-87% of previously hospitalized patients [ ]. Furthermore, the incidence of LC is estimated to range between 10% and 35% in individuals who have not been hospitalized [ ]. The economic costs associated with LC symptomatology could be significant. Reynolds et al [ ] stated that chronic fatigue syndrome, which has similar characteristics to LC [ ], leads to a 37% reduction in household productivity and a 54% reduction in labor force productivity in the United States. Unmet medical needs have motivated immense research activities. ClinicalTrials.gov lists more than 7000 studies in the field of COVID-19, including more than 600 LC-specific studies [ ].
Retrospective Clinical Analysis
The large number of ongoing studies highlights a key challenge in drug development. There are numerous substances that are potentially effective. It is therefore essential to identify promising substances and narrow down the number of potential drug candidates to those showing the most promise. Given the urgency, scarcity of financial resources, and the high risk of failure in pharmaceutical research , drug repurposing (DR) appears to be a promising strategy for LC drug development. The exploitation of existing drugs for new therapeutic purposes usually leads to shorter development cycles with lower costs [ ]. For example, existing drugs have proven to be safe for use in humans. Accordingly, phase I clinical trials are not required [ ]. From a historical perspective, DR has often been serendipitous [ , ], but systematic approaches also exist to identify promising target leads [ ]. One of these approaches is retrospective clinical analysis [ ], which has already been used in the context of the COVID-19 pandemic [ ]. Retrospective clinical analysis involves learning from real-world experience (eg, evaluating clinical case reports) to hypothesize applications of existing drugs for new indications [ ].
Mining Patients’ Experiences From Social Media
Traditionally, retrospective clinical analysis is based on information that is collected and stored in databases, explicitly dedicated for health care system–related applications. Signals for potential DR are subsequently generated by professionals analyzing the data. Nowadays, there is a growing awareness in medical research that the collective intelligence of the affected patients, jointly searching for a solution to improve a medical condition, can be a driver of innovation [, ] that is leveraged in the innovation process known as “crowdsourcing” [ , ]. While traditional crowdsourcing aims at active collaboration (eg, between a pharmaceutical company and an external patient group), online forums enable a passive approach to collecting real-world data by offering relevant content for analysis, which is also called “passive crowdsourcing” [ , ]. For instance, researchers have analyzed data from disease-specific social media platforms to identify medications that are used outside the approved indication (off-label use) [ , ]. Off-label use provides information to support hypotheses regarding DR [ , ]. These approaches save time and costs associated with data collection, while incorporating patients’ real-world experiences. However, social media mining (SMM) [ ], a term that refers to the collection of methods used for conducting passive crowdsourcing, poses significant risks in terms of bias [ , ]. For instance, owing to the age-related user behavior on social media platforms, the data might not be generalizable to the whole population [ ].
Generating Hypotheses on DR From Discussions Among Long-Haulers
In this study, we aimed to capture substances such as medications and supplements that are relevant to the coping strategies of patients with LC. Accordingly, we applied the principle of retrospective clinical analysis using passive crowdsourcing by applying SMM. Since there is no approved drug for LC, promising LC candidates based on off-label properties could not be determined. Instead, we used an exploratory method, mainly consisting of the application of named-entity recognition (NER) and network analysis, aiming to provide an overview of different treatment strategies and important compounds from the patient’s perspective for DR hypothesis generation. Methodologically similar approaches have previously been used to identify substances used in self-medication regarding opioid withdrawal  or to monitor potential drug interactions and reactions [ ]. Furthermore, network analysis has been used to explore discussions related to certain diseases [ ] or to explore the public perspective on vaccines [ , ]. For example, Lewis et al [ ] used network analysis to analyze reasons for older adults to join a diabetes online community. Luo et al [ ] used network analysis to explore public perceptions of the COVID-19 vaccine.
To our best knowledge, this study is the first to explore treatment strategies and important medications to support DR hypothesis generation by applying network analysis.
The aim of this feasibility study was to evaluate whether the proposed method can be employed to support DR hypothesis generation based on the experiences of affected individuals shared on Reddit. To this end, we first explored which substances are mentioned in LC online discussions regarding self-medication. Second, we investigated whether there are clusters of substances often discussed together, indicating treatment strategies. Third, we attempted to identify the most important substances in these clusters to indicate respective treatment strategies.
The methodology used in this study consists of the following steps: (1) extraction of appropriate data, (2) detection of substance entities mentioned in users’ posts using NER, and (3) analysis of substance frequencies and co-occurrence networks of substance entities.outlines the end-to-end workflow in detail.
Data Source and Extraction
Reddit is a social media platform that is organized in theme-specific forums called “subreddits” . The data extraction process was performed using Pushshift [ ], which is a platform that collects Reddit data and has been available to researchers since 2015 [ ]. The extracted data consist of posts and metadata from the subreddit “/r/covidlonghaulers,” which has already been used to explore LC symptoms [ , ]. This subreddit is actively moderated by specific users and provides a medium for LC-related discussions. The content is subject to strict rules prohibiting the promotion of alternative treatment, misinformation, and conspiracy theories. As of January 3, 2022, the subreddit had over 24,000 subscribers and 20,000 threads. Users self-report their LC experiences such as discussing symptoms [ ] and medications.
Beyond the extraction of posts, metadata such as the username, date of the post, or the so-called “link flair text” can be extracted. Link flair text represent thematic tags that are used to associate posts (initial and subsequent posts) with specific categories. This provides researchers with the ability to exclude data unrelated to the analysis. For example, posts tagged as articles, research articles, or humor posts were excluded from the analysis (see). Additionally, posts without tags were excluded. The analyzed data included 68,268 posts written by 8717 users between August 31, 2020, and March 1, 2022 ( ).
Substance Entity Extraction
First, the text was preprocessed to improve the data quality. For example, hyperlinks, tabs, and blank lines were removed. The substances of interest mentioned by patients in posts needed to be extracted and structured for subsequent analysis  using NER [ ]. We defined substances of interest as explicitly mentioned substances or groups of substances that can be considered as treatments. For instance, we captured conventional supplements (eg, vitamin supplements) or prescription medications (eg, antidepressants) that were discussed by users. ScispaCy provides several NER models related to medical issues [ ] and was used to extract symptoms from LC Reddit posts [ ]. In principle, two ScispaCy models are applicable for this purpose. The first model is the en_ner_bc5cdr_md model [ ], which can detect chemical substances and diseases. Since the module covers chemical substances in general and not specific medications or dietary supplements, we defined stop words such as “ethanol” to narrow the focus of the analysis to substances of interest. The second model is the Med7 model [ ], which specifically focuses on drug extraction. Running both models together yielded the best results [ ]. Negated substances were excluded from the extraction by considering negotiation terms. For this purpose, we added the Negex algorithm [ ] to the NER ScispaCy pipeline. Negex identifies different forms of negation patterns and was initially developed for application to clinical texts [ ]. Subsequently, the named entities were normalized and filtered to improve data quality for subsequent analyses. Therefore, the extracted entities were matched against an external knowledge base and were either replaced with standard medical vocabulary or discarded if no match was found. For this purpose, we used the ScispaCy entity linker, which matches entities with the unified medical language system (UMLS) knowledge base [ ]. The EntityLinker pipeline performs a string nearest-neighbor search for entities to match them with the UMLS concepts [ ]. We considered 0.85 as a threshold value for the overlap with UMLS concepts [ ]. To evaluate the entity extraction performance, 500 randomly selected posts from the entire corpus were manually annotated. For data annotation, two annotators were involved. The intercoder reliability was 0.94. The F1 score was used as the evaluation metric [ ]. By applying inexact string matching between data from the Food and Drug Administration’s Orange Book [ ] and the extracted entities, brand names were normalized by their active ingredient [ ]. For instance, “zyrtec” was replaced with “ceterizine hydrochloride.”
The network analysis method offers the possibility of visualizing and evaluating relationships in text. In this study, we used network analysis to obtain an overview of the spectrum of substances and identify potential substance clusters. Similar approaches have been used to identify substances and their effects, including self-medication in opioid withdrawal  or pharmacovigilance settings [ ].
Features for network analysis consist of the nodes (represented by the extracted entities) and the “edges,” which represent the relationship between the nodes as weight based on the co-occurrence of entities. A co-occurrence was defined as the mention of two or more substances in one post [, ]. Duplicates of entities within one post were removed to avoid assigning more weight to longer posts that mention specific entities more frequently. Subsequently, the information on the co-occurrence of substances was converted into a pointwise mutual information (PMI) matrix [ , , ]. We only considered associations between entities that co-occurred more frequently than expected based on their overall frequency, also called positive PMI, which was proven to be beneficial for extracting semantic representations [ , ]. To improve the quality of the visualization and analysis, substances occurring less than 10 times and node pairs below the average PMI weight were excluded [ , ]. False-positive nodes were manually removed. Using the PMI matrix, an undirected graph was created and analyzed using Gephi software. Gephi is an open-source software for network analysis, which allows spatialization, filtering, navigation, manipulation, and clustering of entities [ ].
We used clustering, also referred to as “community detection,” to identify potential drug and/or supplement strategies for LC. Community detection describes the clustering of nodes (in our case, substances) that are strongly associated with each other according to their edges. Hence, a cluster consists of substances that are strongly associated and discussed with one another. Communities can be determined using various clustering algorithms. For this purpose, the relatively new Leiden algorithm was used . In contrast to the Louvain algorithm, which has been widely used in network analysis in the past, the Leiden algorithm has several advantages [ ] such as having more meaningful partitioning [ ]. The modularity value (Q) was used as the quality function [ ]. A Q value of at least 0.3 implies meaningful clustering [ ]. The result of clustering, and consequently Q, was significantly determined by the preselected resolution [ ]. Following an iterative process, we aimed to find a proper balance between the number and relevance of the discovered communities and the resulting modularity by applying different resolution values [ ]. To analyze the most important substances in the network, we calculated the degree centrality (number of linkages of a node) [ ]; the higher the centrality, the more important the substance is in the network [ , ].
Substances in Self-Reports
The NER algorithm achieved an F1 score of 0.67 (precision=0.69, recall=0.66). Error analysis was performed on the incorrectly labeled entities. Errors were classified into lexical and dictionary errors . A lexical error (38.5%) refers to the case in which users employ a variety of terms when referring to the substances they use. For example, our model failed to detect and extract the term “benzos,” since it is a slang abbreviation for the drug “benzodiazepine” and was not indexed in the model. Another example of expressions that our model did not recognize are compound terms of more than a single word (eg, “anti histamines”) with the algorithm only extracting “histamines” and was thus missing the preceding word “anti,” giving the extracted entity a different meaning.
A dictionary error (61.5%) refers to certain terms that are not specifying a concrete substance but rather a substance group; for example, “electrolytes” were not captured, whereas explicitly mentioned substances representing electrolytes such as “magnesium” were reliably detected. Furthermore, the algorithm extracted substances that are not considered as treatments, such as “chlorine.”
A total of 28,447 substance entities and 5789 word-co-occurrence pairs were extracted. “Histamine antagonists,” “famotidine,” “magnesium,” “vitamins,” and “steroids” were the most frequently mentioned substances that appeared at least once in a post (duplicate mentions of a substance in a post were disregarded) (). A list of all substances can be found in .
The most frequent word pairs are listed in. For example, the pairing that occurred most frequently with 218 mentions was cetirizine hydrochloride–famotidine.
|Rank||Substance–Substance pair||Frequency (number of mentions)|
|6||Cetirizine Hydrochloride–Histamine Antagonists||95|
Using a resolution of 0.6, three clusters were found. They consisted of 244 nodes and 3570 edges. The modularity value was 0.48, indicating a reasonable partitioning of communities [, ]. The average clustering coefficient was 0.414. Overall, these scores indicated that the network ( ) had no random structure [ ]. Coloring in the network indicates the community and node size degree centrality.
Cluster 1 mainly consisted of supplements and several over-the-counter (OTC) medications, which are often used in the context of flu-like diseases (). The top 10 most important substances and the respective substance classes measured by degree centrality are displayed in . The retrieved entities belong to the drug classes of electrolyte/mineral replacement, vitamins, respiratory tract agents such as acetylsteine, and nutritional supplements such as fish oil or probiotics.
|Cluster||Total share of nodes||Ten most important substances (by degree centrality)|
|1||42.85%||magnesium, melatonin, ergocalciferol, vitamin, multivitamin preparation, niacin, probiotics, acetylsteine, fish oils, zinc|
|2||29.51%||gabapentin, bupropion hydrochloride, antidepressive agents, fluvoxamine, adrenergic beta-antagonists, naltrexone, lorazepam, cannabidiol, propranolol, nonsteroidal anti-inflammatory agents|
|3||26.64%||steroids, histamine antagonists, famotidine, diphenhydramine hydrochloride, cetirizine hydrochloride, prednisone, ibuprofen, antibiotics, loratadine, ivermectin|
Cluster 2 mostly included prescription medicines such as those used for the treatment of psychological, mental, or neurological disorders (). Examples of the 10 most important substances ( ) include the anticonvulsant drug gabapentin, antidepressants such as bupropion hydrochloride, and adrenergic β-antagonists such as propranolol. Furthermore, opioid antagonists such as naltrexone, anxiolytics such as lorazepam, and nonsteroidal anti-inflammatory agents such as naproxen incorporated high degree centrality.
Cluster 3 mainly included prescription and OTC medicines that are often used to treat allergic reactions and inflammation (). The top 10 important substances ( ) belonged to the drug classes of steroids such as prednisone, antihistamines such as famotidine, antibiotics, and nonsteroidal anti-inflammatory agents such as ibuprofen.
Posts were extracted from an LC-specific subreddit to analyze the discussed substances with the aim of evaluating whether the proposed method could be used to support hypothesis development for DR. In the absence of approved medications for LC (which will also be the case in future pandemic situations), all substances can be considered for off-label use, which makes it difficult to evaluate the potential candidates that apply traditional SMM DR approaches. Instead of filtering substances for off-label use, we considered frequencies and network analysis to facilitate the identification of important substances from the patients’ point of view.
The substances mentioned the most frequently in our feasibility study were antihistamines in general and famotidine, followed by supplements such as magnesium. Moreover, vitamins and steroids were frequently discussed substances. To analyze the strength of the substance-substance combination, the PMI was used to compare the strength of the associations with random associations considering the overall frequency of substances. These substances and their associations formed a nonrandom network consisting of three substance clusters, identified by community detection, implying systematic discussion and usage of substances. For instance, the most frequently mentioned class of substances, histamine antagonists, was found to be highly associated with other inflammatory substances such as steroids.
The clusters, mainly consisting of anti-inflammatory agents and supplements, incorporate the most often mentioned entities. Moreover, medications used for the treatment of psychological, mental, or neurological disorders also formed a cluster. The latter cluster can be assumed to be a less prevalent treatment regime in our sample because its substances occur less frequently. Nevertheless, all clusters reflect the treatment approaches described by the users.
Supporting DR Hypothesis Generation by Analyzing Patients’ Self-Reports
The results of our feasibility study highlight drugs and self-treatment strategies discussed by long-haulers on Reddit. We were able to successfully identify substance communities (representing different treatment strategies) in the substance network and drugs of high(er) importance to users (based on degree centrality) within these communities. Comparing the results to the current literature, our findings are supported by the successful identification of promising drug candidates already discussed by the scientific community. For instance, according to Crook et al , antihistamines are considered potential DR candidates. Significant improvements in long-term symptoms have been reported in case reports [ ] and observational studies [ ]. This seems to be backed by discussions from long-haulers: antihistamines are the most frequently discussed substances and are important (measured by degree centrality) to the cluster of anti-inflammatory drugs.
Similarly, Crook et al  concluded in their review that antidepressants such as serotonin-norepinephrine reuptake inhibitors and selective serotonin reuptake inhibitors could be repurposed for the treatment of LC, as they have been associated with a reduced risk of death or intubation in acute COVID-19 cases [ , ] and a reduction in peripheral inflammatory markers [ , ]. In April 2021, Sukhatme et al [ ] conducted review on the mechanisms of action of fluvoxamine and its role in acute COVID-19 treatment. The authors concluded that it “is also tempting to speculate on a role for fluvoxamine in COVID-19 long-haulers.” In April 2022, Khani et al [ ] expressed the hypothesis that the majority of LC symptoms might not be directly due to COVID-19 but likely result from COVID-19–associated inflammation and Epstein-Barr virus (EBV) reactivation. The authors argue that fluvoxamine might have beneficial effects in reducing LC symptoms due to the modulatory effects on central mechanisms (eg, reduction of endoplasmic reticulum stress and inflammation). In medication cluster 2, fluvoxamine was the second most important antidepressant, as measured by degree centrality ( ). Interestingly, our data are based on posts up to March 2022, and clearly indicate that users already consider this drug to be important in their LC treatment strategies while the scientific community is still working on hypothesis generation.
The other antidepressant that is most frequently mentioned and most central to long-hauler discussions was bupropion hydrochloride, representing a norepinephrine/dopamine reuptake inhibitor (NDRI) . This drug is currently barely discussed in the research community. There seems to be a significant discrepancy in the perception of importance of NDRIs of long-haulers and the scientific community.
Additional drugs that appear to be important to long-haulers but that are barely discussed in clinical research include naltrexone, adrenergic β-antagonists, and prednisone. For instance, prednisone, as a corticosteroid, emerged as the most central steroid used for self-treatment by long-haulers in our study. Chen et al  found a high incidence of EBV coinfection in acute COVID-19 cases and concluded that patients may be advised to use a corticosteroid. Following the hypothesis of Khani et al [ ] that EBV is also of central importance in LC, corticosteroid could be useful in the treatment of LC, and thus explain the identified central position in the long-haulers discussion identified in this study. In fact, Goel et al [ ] reported that systemic steroids are helpful in hastening the recovery of a selected subset of patients with LC [ ]. Another recently published single-center interventional pre-post study demonstrated that low-dose naltrexone is safe in patients with LC and may improve well-being (eg, reduce symptomatology) [ ].
In summary, reports on clinical research indicate that our proposed method might support the early identification of promising DR candidates. When incorporating patients’ experiences regarding specific drugs, network analysis has proven to be especially useful to slice the data in a meaningful way. In particular, network analysis enables the identification of different (self-) treatment strategies and corresponding drugs beyond raw frequencies. For example, medications used for the treatment of psychological, mental, or neurological disorders represent a medication cluster; however, these drugs are generally reported at lower frequency. This might result from the fact that most of these drugs are only available on prescription and therefore access is limited in contrast to OTCs. Substance community detection and degree centrality highlight the strategies and drugs that otherwise could be overlooked. Furthermore, network analysis allows to distinguish between systematic and random discussions of substances. This is important information, as a systematic discussion might be an indicator for data quality and the knowledge of the crowd. Our results imply that patients’ experiences shared on social media influence others’ self-treatment decisions . Positive experiences reported by users will lead to other users adopting the same approaches, leading to the increase of discussion of potentially helpful substances [ ].
However, it is beyond the scope of this study to review all of the identified compounds for their potential relevance to LC DR. We encourage professionals to consider the findings as a starting point for hypothesis generation by narrowing down potential DR candidates to drugs that are important for long-haulers. Clearly, we cannot derive any conclusions about effectiveness based on this analysis. Nevertheless, these drugs appear to be frequently used by long-haulers as treatments. Therefore, these drugs should be further evaluated by the scientific community to determine whether they might be effective or even harmful, which would also be of relevance to communicate from a public health perspective.
Limitations and Future Work
Our study has several limitations in line with comparable studies based on similar methods. As our NER algorithm relies on pretrained models, the error analysis we performed implies that a custom model trained on annotated examples of the posts used in this study would increase the accuracy of the results. To avoid missing entities in the normalization process (eg, due to the use of slang), a customized dictionary could be defined, which links slang terms of substances used by patients to their medical terminology. Further, substances that fail in the normalization process could be revised and normalized manually. However, the performance of the NER algorithm can be considered to be appropriate. Other studies applying pretrained NER algorithms to extract medical entities from Reddit data showed similar F1 scores. Foufi et al  used PKDE4J [ ] to identify biomedical substances from disease-specific subreddits, and 71.48% of the extracted entities were correctly labeled. Šćepanović et al [ ] evaluated six state-of-the-art pretrained language models in a bidirectional long short-term memory–conditional random field (BiLSTM-CRF) model to identify medical entities in disease-specific subreddits; the F1 scores ranged from 0.64 to 0.73. Approaches combining different pretrained language models can improve performance. For example, Šćepanović et al [ ] built a customized NER system by combining a BiLSTM-CRF sequence labeling architecture with contextual embeddings, which scored 0.71 on symptoms and 0.77 on drugs.
Determining the Outcome of Substances
We analyzed the importance of substances in the long-haulers’ discussions, but we did not analyze whether the substances were helpful in terms of the outcomes, which should be considered in future studies. Several approaches can be applied to approximate outcomes. The gold standard is the manual examination of medication-specific posts by medical professionals incorporating domain knowledge. Further programmatic approaches could include analyses of average sentiments regarding drugs to determine whether a treatment is perceived to be useful by users . Another possibility could be to capture correlations between substances and effects mentioned in a sentence by the application of dependency parsing [ ] or by implementing an observational study design [ ]. However, reliable assessment of causality of underlying treatment effects is impossible because of various limitations [ ]; for instance, inaccurate use of medical terminology by users would bias the results, even if machine-learning algorithms perform with perfect accuracy. Moreover, our analysis indicates a trend of polymedication, which would confound the analysis of single substances. Furthermore, the data quality is low compared with data obtained in traditional study designs, and several confounders such as demographic variables are unknown. In general, even if holistic patient information is available, social media data should be interpreted with caution. For instance, ivermectin was considered a potential DR candidate for acute COVID-19. However, this is suspected to be supported by flawed research [ ] and it was later found to be ineffective in randomized clinical trials [ ]. While we cannot evaluate the efficacy of ivermectin in patients with LC, it can be assumed that users’ treatment decisions may also be influenced by potentially flawed information.
Generalizability of Results and Inference of Indications
Even though important substances were found from the users’ perspective, the results cannot be generalized for all patients with LC since demographics or symptom distributions were not analyzed. Although previous studies [, ] indicate that the spectrum of symptoms in the subreddit broadly agrees with recently published studies on LC [ , ], it can be assumed that the treatment choice of users depends on their symptoms. Therefore, the implementation of a bimodal network to reveal correlations between symptoms and medications could be useful. Moreover, the demographic distribution of users might not be representative of the entire long-hauler population. In fact, research suggests that the distribution of Reddit is skewed by age and gender [ ], which is a major limitation to SMM in general [ ], indicating that the data source represents a young male subpopulation [ ]. There are two possible improvements in future SMM studies: (1) combining data from multiple platforms could lower user bias depending on the specific platform; and (2) algorithms can be applied to infer demographic variables and analyze diverse user data, including metadata [ ].
In this feasibility study, we tested the application of SMM methods to support the development of hypotheses on LC DR. To this end, we extracted substance entities to analyze frequencies and co-occurrences and subsequently used them to identify substance clusters. Our results highlight certain approaches to DR, such as antihistamines, steroids, or antidepressants, while also indicating that patients experiment with a wide range of substances in a systematic manner. This feasibility study demonstrates that network analysis can be used to characterize the medication strategies discussed. Comparison with existing literature indicates that the approach identifies substances that are plausible candidates for drug repurposing. The comparison also showed that some substances are important from the users’ point of view while they are barely discussed in the scientific community. These substances should be reviewed by experts to assess their potential efficacy or harmfulness. The result could either lead to a DR hypothesis or underline the need to communicate the potential risks of the drug in the community of long-haulers. In the context of a pandemic, the proposed method might be used to support DR hypothesis development by prioritizing substances that are important to users in a cost- and time-effective manner.
This research was supported as part of the ATLAS project "Innovation and digital transformation in healthcare" by the state of North Rhine-Westphalia, Germany (grant number: ITG-1-1).
Conflicts of Interest
Link flair text (LFT) tags included and excluded from the analysis, and total substances extracted from posts.DOCX File , 25 KB
- WHO Coronavirus (COVID-19) Dashboard. World Health Organization. URL: https://covid19.who.int [accessed 2022-08-30]
- Lopez-Leon S, Wegman-Ostrosky T, Perelman C, Sepulveda R, Rebolledo P, Cuapio A, et al. More than 50 long-term effects of COVID-19: a systematic review and meta-analysis. Sci Rep 2021 Aug 09;11(1):16144. [CrossRef] [Medline]
- Michelen M, Manoharan L, Elkheir N, Cheng V, Dagens A, Hastie C, et al. Characterising long COVID: a living systematic review. BMJ Glob Health 2021 Sep 27;6(9):e005427 [FREE Full text] [CrossRef] [Medline]
- Nalbandian A, Sehgal K, Gupta A, Madhavan MV, McGroder C, Stevens JS, et al. Post-acute COVID-19 syndrome. Nat Med 2021 Apr 22;27(4):601-615 [FREE Full text] [CrossRef] [Medline]
- Pavli A, Theodoridou M, Maltezou HC. Post-COVID syndrome: incidence, clinical spectrum, and challenges for primary healthcare professionals. Arch Med Res 2021 Aug;52(6):575-581 [FREE Full text] [CrossRef] [Medline]
- Reynolds KJ, Vernon SD, Bouchery E, Reeves WC. The economic impact of chronic fatigue syndrome. Cost Eff Resour Alloc 2004 Jul 21;2(1):4 [FREE Full text] [CrossRef] [Medline]
- Wong TL, Weitzer DJ. Long COVID and myalgic encephalomyelitis/chronic fatigue syndrome (ME/CFS)-a systemic review and comparison of clinical presentation and symptomatology. Medicina 2021 May 26;57(5):418 [FREE Full text] [CrossRef] [Medline]
- Clinical studies related to COVID-19. ClinicalTrials.gov. URL: https://clinicaltrials.gov/ct2/results?cond=COVID-19 [accessed 2022-08-30]
- Pammolli F, Magazzini L, Riccaboni M. Nat Rev Drug Discov 2011 Jul 1;10(6):428-438. [CrossRef] [Medline]
- Pushpakom S, Iorio F, Eyers PA, Escott KJ, Hopper S, Wells A, et al. Drug repurposing: progress, challenges and recommendations. Nat Rev Drug Discov 2019 Jan 12;18(1):41-58. [CrossRef] [Medline]
- Cha Y, Erez T, Reynolds IJ, Kumar D, Ross J, Koytiger G, et al. Drug repurposing from the perspective of pharmaceutical companies. Br J Pharmacol 2018 Jan 18;175(2):168-180. [CrossRef] [Medline]
- Ng YL, Salim CK, Chu JJH. Drug repurposing for COVID-19: approaches, challenges and promising candidates. Pharmacol Ther 2021 Dec;228:107930 [FREE Full text] [CrossRef] [Medline]
- Cavalla D. Using human experience to identify drug repurposing opportunities: theory and practice. Br J Clin Pharmacol 2019 Apr 03;85(4):680-689. [CrossRef] [Medline]
- Tucker J, Day S, Tang W, Bayus B. Crowdsourcing in medical research: concepts and applications. PeerJ 2019;7:e6762. [CrossRef] [Medline]
- Sharma N. Patient centric approach for clinical trials: current trend and new opportunities. Perspect Clin Res 2015;6(3):134-138 [FREE Full text] [CrossRef] [Medline]
- Boudreau K, Lakhani K. Using the crowd as an innovation partner. Harv Bus Rev 2013 May;91(4):60-9, 140 [FREE Full text] [Medline]
- Charalabidis Y, Loukis E, Androutsopoulou A, Karkaletsis V, Triantafillou A. Passive crowdsourcing in government using social media. Transform Gov: People, Process Policy 2014;8(2):283-306. [CrossRef]
- Ahmed S, Rajput AE, Sarirete A, Aljaberi A, Alghanem O, Alsheraigi A. Studying unemployment effects on mental health: social media versus the traditional approach. Sustainability 2020 Oct 02;12(19):8130. [CrossRef]
- Koss J, Rheinlaender A, Truebel H, Bohnet-Joschko S. Social media mining in drug development-Fundamentals and use cases. Drug Discov Today 2021 Dec;26(12):2871-2880 [FREE Full text] [CrossRef] [Medline]
- Preiss A, Baumgartner P, Edlund MJ, Bobashev GV. Using named entity recognition to identify substances used in the self-medication of opioid withdrawal: natural language processing study of Reddit data. JMIR Form Res 2022 Mar 30;6(3):e33919 [FREE Full text] [CrossRef] [Medline]
- Correia R, Li L, Rocha L. Monitoring potential drug interactions and reactions via network analysis of Instagram user timelines. Pac Symp Biocomput 2016;21:492-503 [FREE Full text] [Medline]
- Lewis JA, Gee PM, Ho CL, Miller LMS. Understanding why older adults with type 2 diabetes join diabetes online communities: semantic network analyses. JMIR Aging 2018 Jul 28;1(1):e10649 [FREE Full text] [CrossRef] [Medline]
- Wang Q, Zhang W, Cai H, Cao Y. Understanding the perceptions of Chinese women of the commercially available domestic and imported HPV vaccine: A semantic network analysis. Vaccine 2020 Dec 14;38(52):8334-8342. [CrossRef] [Medline]
- Luo C, Chen A, Cui B, Liao W. Exploring public perceptions of the COVID-19 vaccine online from a cultural perspective: semantic network analysis of two social media platforms in the United States and China. Telemat Inform 2021 Dec;65:101712 [FREE Full text] [CrossRef] [Medline]
- Baumgartner J, Zannettou S, Keegan B, Squire M, Blackburn J. The pushshift Reddit dataset. 2020 Presented at: Fourteenth International AAAI Conference on Web and Social Media (ICWSM 2020); June 8-11, 2020; Atlanta, GA.
- Sarker A, Ge Y. Mining long-COVID symptoms from Reddit: characterizing post-COVID syndrome from patient reports. JAMIA Open 2021 Jul;4(3):ooab075 [FREE Full text] [CrossRef] [Medline]
- Sarabadani S, Baruah G, Fossat Y, Jeon J. Longitudinal changes of COVID-19 symptoms in social media: observational study. J Med Internet Res 2022 Feb 16;24(2):e33959 [FREE Full text] [CrossRef] [Medline]
- Mansouri A, Affendey L, Mamat A. Named entity recognition approaches. Int J Comput Sci Netw Secur 2008;8(2):339-344.
- Neumann M, King D, Beltagy I, Ammar W. ScispaCy: fast and robust models for biomedical natural language processing. arXiv. 2019. URL: https://arxiv.org/abs/1902.07669 [accessed 2022-08-30]
- Li J, Sun Y, Johnson R, Sciaky D, Wei C, Leaman R, et al. BioCreative V CDR task corpus: a resource for chemical disease relation extraction. Database 2016;2016:baw068 [FREE Full text] [CrossRef] [Medline]
- Kormilitzin A, Vaci N, Liu Q, Nevado-Holgado A. Med7: a transferable clinical natural language processing model for electronic health records. Artif Intell Med 2021 Aug;118:102086. [CrossRef] [Medline]
- Chapman WW, Bridewell W, Hanbury P, Cooper GF, Buchanan BG. A simple algorithm for identifying negated findings and diseases in discharge summaries. J Biomed Inform 2001 Oct;34(5):301-310 [FREE Full text] [CrossRef] [Medline]
- Bodenreider O. The Unified Medical Language System (UMLS): integrating biomedical terminology. Nucleic Acids Res 2004 Jan 01;32(Database issue):D267-D270 [FREE Full text] [CrossRef] [Medline]
- Hripcsak G. Agreement, the F-measure, and reliability in information retrieval. J Am Med Inform Assoc 2005 Jan 31;12(3):296-298. [CrossRef]
- Orange book: approved drug products with therapeutic equivalence evaluations. US Food and Drug Administration. URL: https://www.fda.gov/drugs/drug-approvals-and-databases/approved-drug-products-therapeutic-equivalence-evaluations-orange-book [accessed 2022-08-30]
- Ma'ayan A, Jenkins S, Goldfarb J, Iyengar R. Network analysis of FDA approved drugs and their targets. Mt Sinai J Med 2007 May;74(1):27-32 [FREE Full text] [CrossRef] [Medline]
- Marshall S, Yang C, Ping Q, Zhao M, Avis N, Ip E. Symptom clusters in women with breast cancer: an analysis of data from social media and a research study. Qual Life Res 2016 Mar;25(3):547-557 [FREE Full text] [CrossRef] [Medline]
- Vitte J, Gao F, Coppola G, Judkins AR, Giovannini M. Timing of Smarcb1 and Nf2 inactivation determines schwannoma versus rhabdoid tumor development. Nat Commun 2017 Aug 21;8(1):300. [CrossRef] [Medline]
- Liu C, Lu X. Analyzing hidden populations online: topic, emotion, and social network of HIV-related users in the largest Chinese online community. BMC Med Inform Decis Mak 2018 Jan 05;18(1):2 [FREE Full text] [CrossRef] [Medline]
- Teng C, Lin Y, Adamic L. Recipe recommendation using ingredient networks. 2012 Presented at: 4th annual ACM Web Science Conference (WebSci '12); June 22-24, 2012; Evanston, IL. [CrossRef]
- Bullinaria JA, Levy JP. Extracting semantic representations from word co-occurrence statistics: stop-lists, stemming, and SVD. Behav Res Methods 2012 Oct 19;44(3):890-907. [CrossRef] [Medline]
- Calabrese C, Ding J, Millam B, Barnett GA. The uproar over gene-edited babies: a semantic network analysis of CRISPR on Twitter. Env Commun 2019 Dec 19;14(7):954-970. [CrossRef]
- Bastian M, Heymann S, Jacomy M. Gephi: an open source software for exploring and manipulating networks. 2009 Presented at: Third International AAAI Conference on Weblogs and Social Media; May 17-20, 2009; San Jose, CA.
- Traag VA, Waltman L, van Eck NJ. From Louvain to Leiden: guaranteeing well-connected communities. Sci Rep 2019 Mar 26;9(1):5233. [CrossRef] [Medline]
- Hairol Anuar SH, Abas ZA, Yunos NM, Mohd Zaki NH, Hashim NA, Mokhtar MF, et al. Comparison between Louvain and Leiden Algorithm for Network Structure: A Review. 2021 Presented at: 1st International Conference on Material Processing and Technology (ICMProTech 2021); July 14-15, 2021; Perlis, Malaysia. [CrossRef]
- Arroyo-Machado W, Torres-Salinas D, Robinson-Garcia N. Identifying and characterizing social media communities: a socio-semantic network approach to altmetrics. Scientometrics 2021 Oct 12;126(11):9267-9289 [FREE Full text] [CrossRef] [Medline]
- Dotsika F, Watkins A. Identifying potentially disruptive trends by means of keyword network analysis. Technol Forecast Soc Change 2017 Jun;119:114-127. [CrossRef]
- Hoser B, Hotho A, Jäschke R, Schmitz C, Stumme G. Semantic network analysis of ontologies. In: Sure Y, Domingue J, editors. The Semantic Web: Research and Applications. ESWC 2006. Lecture Notes in Computer Science, vol 4011. Berlin, Heidelberg: Springer; 2006.
- Foufi V, Timakum T, Gaudet-Blavignac C, Lovis C, Song M. Mining of textual health information from Reddit: analysis of chronic diseases with extracted entities and their relations. J Med Internet Res 2019 Jun 13;21(6):e12876 [FREE Full text] [CrossRef] [Medline]
- Varsha K, Patil K. An overview of community detection algorithms in social networks. 2020 Presented at: International Conference on Inventive Computation Technologies (ICICT), 2020; February 26-28, 2020; Coimbatore, Tamilnadu, India. [CrossRef]
- Newman MEJ. Modularity and community structure in networks. Proc Natl Acad Sci U S A 2006 Jul 06;103(23):8577-8582 [FREE Full text] [CrossRef] [Medline]
- Crook H, Raza S, Nowell J, Young M, Edison P. Long covid-mechanisms, risk factors, and management. BMJ 2021 Jul 26;374:n1648. [CrossRef] [Medline]
- Pinto MD, Lambert N, Downs CA, Abrahim H, Hughes TD, Rahmani AM, et al. Antihistamines for postacute sequelae of SARS-CoV-2 infection. J Nurse Pract 2022 Mar;18(3):335-338 [FREE Full text] [CrossRef] [Medline]
- Glynne P, Tahmasebi N, Gant V, Gupta R. Long COVID following mild SARS-CoV-2 infection: characteristic T cell alterations and response to antihistamines. J Investig Med 2022 Jan 05;70(1):61-67 [FREE Full text] [CrossRef] [Medline]
- Hoertel N, Sánchez-Rico M, Vernet R, Beeker N, Jannot A, Neuraz A, AP-HP/Universities/INSERM COVID-19 Research CollaborationAP-HP COVID CDR Initiative. Association between antidepressant use and reduced risk of intubation or death in hospitalized patients with COVID-19: results from an observational study. Mol Psychiatry 2021 Sep 04;26(9):5199-5212. [CrossRef] [Medline]
- Köhler CA, Freitas TH, Stubbs B, Maes M, Solmi M, Veronese N, et al. Peripheral alterations in cytokine and chemokine levels after antidepressant drug treatment for major depressive disorder: systematic review and meta-analysis. Mol Neurobiol 2018 May 13;55(5):4195-4206. [CrossRef] [Medline]
- Sukhatme VP, Reiersen AM, Vayttaden SJ, Sukhatme VV. Fluvoxamine: a review of its mechanism of action and its role in COVID-19. Front Pharmacol 2021 Apr 20;12:652688. [CrossRef] [Medline]
- Khani E, Entezari-Maleki T. Fluvoxamine and long COVID-19; a new role for sigma-1 receptor (S1R) agonists. Mol Psychiatry 2022 May 06:online ahead of print [FREE Full text] [CrossRef] [Medline]
- Krystal AD, Thase ME, Tucker VL, Goodale EP. Bupropion HCL and sleep in patients with depression. Curr Psych Rev 2007 May 01;3(2):123-128. [CrossRef]
- Chen T, Song J, Liu H, Zheng H, Chen C. Positive Epstein-Barr virus detection in coronavirus disease 2019 (COVID-19) patients. Sci Rep 2021 May 25;11(1):10902. [CrossRef] [Medline]
- Goel N, Goyal N, Nagaraja R, Kumar R. Systemic corticosteroids for management of 'long-COVID': an evaluation after 3 months of treatment. Monaldi Arch Chest Dis 2021 Dec 03;92(2):1981. [CrossRef] [Medline]
- O'Kelly B, Vidal L, McHugh T, Woo J, Avramovic G, Lambert JS. Safety and efficacy of low dose naltrexone in a long covid cohort; an interventional pre-post study. Brain Behav Immun Health 2022 Oct;24:100485 [FREE Full text] [CrossRef] [Medline]
- Benetoli A, Chen T, Aslani P. How patients' use of social media impacts their interactions with healthcare professionals. Patient Educ Couns 2018 Mar;101(3):439-444. [CrossRef] [Medline]
- Ogink T, Dong JQ. Stimulating innovation by user feedback on social media: The case of an online user innovation community. Technol Forecast Soc Change 2019 Jul;144:295-302. [CrossRef]
- Song M, Kim WC, Lee D, Heo GE, Kang KY. PKDE4J: entity and relation extraction for public knowledge discovery. J Biomed Inform 2015 Oct;57:320-332 [FREE Full text] [CrossRef] [Medline]
- Scepanovic S, Martin-Lopez E, Quercia D, Baykaner K. Extracting medical entities from social media. 2020 Presented at: CHIL '20: ACM Conference on Health, Inference, and Learning; April 2-4, 2020; Toronto, ON. [CrossRef]
- Gräßer F, Kallumadi S, Malberg H, Zaunseder S. Aspect-based sentiment analysis of drug reviews applying cross-domain and cross-data learning. 2018 Presented at: DH '18: 2018 International Conference on Digital Health; April 23-26, 2018; Lyon, France. [CrossRef]
- Doan S, Yang EW, Tilak SS, Li PW, Zisook DS, Torii M. Extracting health-related causality from twitter messages using natural language processing. BMC Med Inform Decis Mak 2019 Apr 04;19(Suppl 3):79 [FREE Full text] [CrossRef] [Medline]
- Saha K, Sugar B, Torous J, Abrahao B, Kıcıman E, De Choudhury M. A social media study on the effects of psychiatric medication use. Proc Int AAAI Conf Weblogs Soc Media 2019 Jul 07;13:440-451 [FREE Full text] [Medline]
- Meyerowitz-Katz G, Wieten S, Medina Arellano MDJ, Yamey G. Unethical studies of ivermectin for covid-19. BMJ 2022 Apr 14;377:o917. [CrossRef] [Medline]
- Roman Y, Burela P, Pasupuleti V, Piscoya A, Vidal J, Hernandez A. Ivermectin for the treatment of coronavirus disease 2019: a systematic review and meta-analysis of randomized controlled trials. Clin Infect Dis 2022 Mar 23;74(6):1022-1029 [FREE Full text] [CrossRef] [Medline]
- Amaya A, Bach R, Keusch F, Kreuter F. New data sources in social science research: things to know before working with Reddit data. Soc Sci Comput Rev 2019 Dec 18;39(5):943-960. [CrossRef]
|BiLSTM-CRF: bidirectional long short-term memory–conditional random field|
|DR: drug repurposing|
|EBV: Epstein-Barr virus|
|LC: long COVID|
|NDRI: norepinephrine/dopamine reuptake inhibitor|
|NER: named-entity recognition|
|OTC: over the counter|
|PMI: pointwise mutual information|
|SMM: social media mining|
|UMLS: unified medical language system|
Edited by A Mavragani; submitted 16.05.22; peer-reviewed by A Sarker, X Wang; comments to author 06.06.22; revised version received 27.06.22; accepted 09.08.22; published 03.10.22Copyright
©Jonathan Koss, Sabine Bohnet-Joschko. Originally published in JMIR Formative Research (https://formative.jmir.org), 03.10.2022.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on https://formative.jmir.org, as well as this copyright and license information must be included.