Original Paper
Abstract
Background: Allergic rhinitis (AR) is a chronic disease, and several risk factors predispose individuals to the condition in their daily lives, including exposure to allergens and inhalation irritants. Analyzing the potential risk factors that can trigger AR can provide reference material for individuals to use to reduce its occurrence in their daily lives. Nowadays, social media is a part of daily life, with an increasing number of people using at least 1 platform regularly. Social media enables users to share experiences among large groups of people who share the same interests and experience the same afflictions. Notably, these channels promote the ability to share health information.
Objective: This study aims to construct an intelligent method (TopicS-ClusterREV) for identifying the risk factors of AR based on these social media comments. The main questions were as follows: How many comments contained AR risk factor information? How many categories can these risk factors be summarized into? How do these risk factors trigger AR?
Methods: This study crawled all the data from May 2012 to May 2022 under the topic of allergic rhinitis on Zhihu, obtaining a total of 9628 posts and 33,747 comments. We improved the Skip-gram model to train topic-enhanced word vector representations (TopicS) and then vectorized annotated text items for training the risk factor classifier. Furthermore, cluster analysis enabled a closer look into the opinions expressed in the category, namely gaining insight into how risk factors trigger AR.
Results: Our classifier identified more comments containing risk factors than the other classification models, with an accuracy rate of 96.1% and a recall rate of 96.3%. In general, we clustered texts containing risk factors into 28 categories, with season, region, and mites being the most common risk factors. We gained insight into the risk factors expressed in each category; for example, seasonal changes and increased temperature differences between day and night can disrupt the body’s immune system and lead to the development of allergies.
Conclusions: Our approach can handle the amount of data and extract risk factors effectively. Moreover, the summary of risk factors can serve as a reference for individuals to reduce AR in their daily lives. The experimental data also provide a potential pathway that triggers AR. This finding can guide the development of management plans and interventions for AR.
doi:10.2196/48324
Keywords
Introduction
Background
Over the past few decades, the prevalence of chronic diseases has increased significantly, becoming a global public health concern. The World Health Organization has listed allergic diseases as one of the disease types that require priority research and prevention in the 21st century [
]. As a common chronic disease, allergic rhinitis (AR) is a multifactorial disease that is induced by environmental conditions or certain genes [ ]. AR not only has a significant impact on individuals’ sleep, social life, and work attendance but also triggers comorbidities such as conjunctivitis, atopic dermatitis, and asthma [ ]. Large-scale flow survey data showed that AR currently affects several people in China alone [ ] and with an estimated prevalence between 15% and 20% worldwide [ ]. The direct and indirect costs associated with the management of AR are also a significant burden on society. For instance, the total cost of AR in Sweden, with a population of 9.5 million, was estimated at €1.3 (US $1.41) billion annually [ ]. These unexpectedly high costs could be related to the high prevalence of disease, in combination with the previously often underestimated indirect costs that arise from reduced work efficiency and absenteeism and the potential costs associated with treating AR comorbidities [ ].Currently, there is no cure for AR, and individuals need to avoid the disease risk factors such as exposure to allergens and inhalation irritants [
] during the long self-management process. Therefore, identifying AR risk factors can provide a reference for patients to help reduce the condition in their daily lives [ ].A plethora of studies have been proposed to identify AR risk factors. These studies recruited participants with symptoms of AR and control participants without AR symptoms from a specific age group or a particular geographical area. These studies collected demographic information, lifestyle habits, family history, comorbidities, and residential areas through questionnaires. Subsequently, they used correlation methods to explore the relationship between these data and AR, aiming to identify the risk factors for AR within the specified age group or geographical area [
]. However, these studies have 2 limitations. First, these studies specifically target certain age groups or geographical areas, and questionnaires can only gather data on specific pieces of information. Owing to the constraints of questionnaire surveys, it is challenging to identify potential risk factors that may be present in individuals’ daily lives. As a result, the risk factors identified through survey-based studies have a limited scope and are incomplete. As such, they provide limited insights for a broader patient population. Second, the survey-based approach demands a commitment to long-term investigation and a substantial effort to collect representative responses [ ]. In contrast, collecting information from social media platforms can cover large geographical areas at a comparatively low cost [ ]. Social media platforms allow users to share experiences and opinions on various topics [ , ], including personal health issues [ ]. Over time, highly unstructured and implicit knowledge has been generated in communities where users frequently participate [ , ], which can provide daily health records that are difficult to obtain from traditional questionnaire surveys. Therefore, social media can become a potential source of information for identifying risk factors for diseases such as AR [ ].Text-mining techniques are an effective tool for using voluminous social media data [
]. Some studies have combined social media data analysis to obtain knowledge about disease risk factors [ , ]. However, the abovementioned studies on disease risk factors used only shallow text features such as the number of social media text items and word cooccurrences, which are not conducive to identifying disease risk factors in the context of colloquial and diverse user expressions [ ]. In this study, we designed a text-processing framework to automatically identify risk factors from social media data [ ]. We used social media comments to construct a natural language processing–based AR risk factor identification method, aiming to tackle the problems of omission and low accuracy in traditional disease-related information identification methods that rely solely on shallow text features such as word frequency.To be more specific, we developed an AR risk factor identification method that integrates pretrained word embeddings with text convolutional neural networks (CNNs). The Word2vec algorithm has proven to be superior in text vector representation [
]. This is a prediction-based approach that predicts the neighboring words that are most likely to appear within a window size around a center word in a corpus, resulting in high-dimensional vector representations that capture semantic aggregation. As social media users may mention related topics, such as symptoms and treatments, when describing risk factors in their comments, we used a local context window to achieve better semantic aggregation of AR risk factors, a method that has been demonstrated to be effective for such aggregation. In addition, using the Skip-gram model to train word pairs enables the incorporation of word thematic information, thus improving attention to risk factor phrases. The convolutional network can convolve the text in the word vector dimension and extract critical information through the max-pooling layer operation. In addition, this study used a clustering method with review mechanisms to concentrate on a large amount of text that contains risk factors within the observable range, thereby ensuring the usefulness of the content obtained through text mining.Our main contributions were as follows:
- First, this study proposed a framework (TopicS-ClusterREV) based on natural language processing for identifying the risk factors of AR. We used pretrained word embeddings and text convolutional networks to process social media text. Our model can identify more risk factors from social media comments with high accuracy and recall. To the best of our knowledge, this is the first study to use natural language processing techniques to identify risk factors for AR in social media comments.
- Second, this study proposes a topic-enhanced word-embedding model. TopicS enhances the thematic information of words by adding a task that predicts the theme to which the center word belongs. This generates high-dimensional word vector representations with semantic aggregation and theme enhancement. We trained 2 types of word vectors using both the Skip-gram and TopicS models and separately input them into each risk factor classifier. The results showed that TopicS outperformed the baseline on the text classification task, demonstrating the effectiveness of our topic-enhanced word-embedding model.
- Finally, we introduced automatic and manual review mechanisms to improve the single-pass algorithm, which allowed us to effectively identify and focus on a large amount of text that contains risk factors within the observable range. We ultimately identified 28 categories of risk factors including the common risk factors that lead to most individuals developing symptoms and previously overlooked risk factors that were not within the scope of previous research.
Identification of AR Risk Factors Through Surveys
AR has become a major global issue with a substantial increase in its prevalence in recent years. In Europe, the prevalence of AR among Danish adults progressively increased from 19% to 32% over the past 3 decades [
]. Understanding the risk factors, such as genetic, environmental, and lifestyle factors, helps in the management of AR, thus motivating many studies to focus on identifying potential risk factors. These studies are summarized in . From , we observed that the previous studies were based on survey methods, including cross-sectional surveys, cohort studies, and case-control studies.Study, year | Method | Risk factors |
Chiang et al [ | ], 2016Case control | Exposure to sulfur dioxide |
Kurganskiy et al [ | ], 2021Cross-sectional | Grass and tree pollen |
Lee et al [ | ], 2021Cross-sectional | The widespread use of industrial chemicals |
Paciência et al [ | ], 2020Cross-sectional | Indoor decoration materials containing volatile organic chemicals |
Saulyte et al [ | ], 2014Case control | Active smoking |
Kong et al [ | ], 2021Cohort | Stress |
Han et al [ | ], 2016Cross-sectional | Obesity |
Kanazawa et al [ | ], 2018Cross-sectional | TYRO3 gene |
Alm et al [ | ], 2014Cross-sectional | Using antibiotics in the first week after birth |
aWe searched for the literature related to AR risk factors and presented 9 papers from the past decade to showcase the methods and the identified risk factors.
These studies typically recruited participants with symptoms of AR and control participants without AR symptoms from a specific age group or a particular geographical area, collected demographic information through questionnaires, and then conducted correlation analysis, such as logistic regression, to explore the relationship between those metadata and AR [
]. For instance, Gao et al [ ] conducted a cross-sectional survey to investigate the prevalence and risk factors of adult self-reported AR in the plain lands and hilly areas of Shenmu City in China and analyzed the differences between regions. The content of the web-based questionnaire included demographic factors, smoking status, the comorbidities of other allergic disorders, family history of allergies, and place of residence. The unconditional logistic regression analysis was used to screen for factors influencing AR. Finally, they found that the prevalence of AR existed in regional differences. Genetic and environmental factors were the important risk factors associated with AR. However, these studies have 2 limitations. First, these studies specifically targeted certain age groups or geographical areas, and questionnaires can only gather data on specific pieces of information. Owing to the constraints of questionnaire surveys, it is challenging to identify potential risk factors that may be present in individuals’ daily lives. As a result, the risk factors identified through survey-based studies have limited scope and are incomplete and they may provide limited insights for a broader patient population. Second, the survey-based approach demands a commitment to long-term investigation and a massive effort to collect representative responses [ ].Identification of Disease Risk Factors From Social Media Through Text Mining
Social media sites provide a convenient way for users to continuously update their day-to-day activities, which allows large groups of people to create and share information, opinions, and experiences about health conditions through web-based discussion [
]. Hence, social media can be considered a new data source to assess population health. As shown in , some studies have combined text-mining techniques to classify and summarize voluminous social media data to obtain knowledge about chronic disease risk factors. Zhang and Ram [ ] extracted behavioral features from Twitter posts of asthma users using keywords from an existing knowledge base. Griffis et al [ ] collected 25,000 tweets containing and not containing diabetes, identified 5000 common words, used logistic regression to determine which common words were high-frequency expressions of diabetes, and finally grouped these high-frequency words using latent Dirichlet allocation to obtain the risk factors for diabetes. Schäfer et al [ ] used syntactic analysis to identify portions of risk factors occurring before or after causal terms, grouped these portions using latent Dirichlet allocation, and obtained the risk factors for gastric discomfort. Pradeepa et al [ ] performed clustering on stroke-related tweets using the Probability Neural Network, used the Apriori algorithm to identify frequent word sets related to risk, and thus identified risk factors for stroke [ ]. In addition to the aforementioned approaches that use shallow text features such as keywords, frequent word sets, high-frequency words, and syntactic features for disease risk factor identification, other studies [ - ] trained risk factor classifiers using machine learning methods such as Naive Bayes, Maximum Entropy Model, and Naive Bayes Classifier–Term Frequency Inverse Document Frequency. These classifiers predict the presence of risk factors in text based on discrete vector representations such as bag-of-words and n-gram.Study, year | Social media platforms | Data | Methods | Features | Diseases | Identified risk factors |
Zhang and Ram [ | ], 2020Posts | Semisupervised learning | Knowledge base | Asthma | Behavioral attributes | |
Griffis et al [ | ], 2020Posts | LDAb | Word frequency | Diabetes | BMI, waist, drugs, alcohol, and obesity | |
Schäfer et al [ | ], 2020Doctissimo, Aufeminin | Answers | LDA | Syntactic | Gastrointestinal discomfort | Food and psychological factors |
Pradeepa et al [ | ], 2020Posts | A priori | Frequent word set | Stroke | Lifestyle, family history, heart disease | |
Alswedani et al [ | ]Posts | Keywords list | Word frequency | Psychological health | Social and economic factors, individual factors, diseases and disorders | |
Chung et al [ | ]Telegram (app) | Time | MLPc | Meta data | Respiratory diseases | Pollution |
Neisani Samani et al [ | ]Posts | Content analysis methods | Word frequency | Oropharyngeal cancer | Drinking, smoking |
aWe searched for studies related to identifying disease risk factors based on social media data. We found 7 papers from the past decade, highlighting the social media platforms, data, methods, features, diseases, and risk factors involved in research.
bLDA: latent Dirichlet allocation.
cMLP: multilayer perceptron.
The current methods for identifying disease risk factors on social media fall into 2 categories: shallow text feature methods and discrete word vector representations. Shallow text feature techniques often fail to capture important risk factors resulting in low accuracy, whereas discrete word vector approaches struggle to keep up with the dynamic vocabulary of social media text, missing new words, and trending expressions, thus inadequately representing the information conveyed.
Word Embedding and Text Classification Based on Deep Learning
Natural language processing technology promotes text analysis based on social media comments [
]; this technology can learn the deeper semantic features of the comment text and the features that are consistent with the current context, according to different training corpus, to input a better text vector representation for downstream classification tasks. Some researchers have used large-scale pretrained language models [ ], global matrix decomposition [ ], and local context windows [ ] for text vector representation. Local context windows are more suitable for semantically aggregating AR risk factors [ ]. Skip-gram and Continuous Bag-of-Words Model (CBOW) are prediction-based methods that learn the semantic representation of a center word by predicting the most likely neighboring words within a window size in a corpus. When users narrate risk factors in their comments, they may also mention symptoms, treatments, and other topics. These global contexts may dilute the key features of the risk factors expression. CBOW averages the context words to predict the target word and tends to predict high-frequency words in the corpus. In contrast, Skip-gram gives each word a chance to be a center word, making it better at predicting rare words compared with CBOW [ ]. Therefore, in situations where social media users express a wide variety of ideas, the Skip-gram model can yield satisfactory outcomes. Moreover, the Skip-gram approach uses word pair training, which facilitates the incorporation of topic information into words [ ], resulting in the generation of high-dimensional word vectors that feature semantic aggregation and topic enhancement. Therefore, we selected Skip-gram as the word-embedding model for our study.Text classification has evolved to deep learning models, mainly including CNN-based models [
], recurrent neural network (RNN)–based models [ ], and transformer models [ ]. For the CNN algorithm, convolutional networks can convolve text on the word vector dimensions and extract key information through pooling layer operations. Consequently, this algorithm is capable of using essential data for classification tasks. Therefore, we used TextCNN for classifier training and evaluated the performance of RNN and transformer models on this task.Methods
Framework
The framework used in this study consisted of 3 parts as shown in
. The first part was data collection and processing, aimed at obtaining a clean data set. The second part was risk factor identification, which included the proposed TopicS method and training of a risk factor classifier. The implementation steps were as follows: (1) semiautomatically constructing a risk factor topic dictionary, (2) generating high-dimensional word vectors enhanced by TopicS-generated topics, and (3) vectorizing annotated text and training a risk factor classifier. The third part is text clustering and keyword extraction, which uses the ClusterREV method to cluster the identified risk factors and extract keywords from every category.Data Set
Zhihu is a Chinese social media platform where people discuss topics in an web-based forum format. In May 2022, the Zhihu subcommunity allergic rhinitis had 1.04 million discussions. The posts on this social media platform allow other users to comment [
], and people can explain their situations to provide support or seek help effectively. Therefore, these comments provide a rich source of data for investigating the risk factors reported by different users [ ]. In this study, we trained domain-specific word representations based on experimental data. A relatively domain-specific input corpus [ ] is better at extracting meaningful semantic relations than a generic pretrained language model [ ]. We crawled all the data from May 2012 to May 2022 under the topic allergic rhinitis on Zhihu, obtaining a total of 9628 posts and 33,747 comments, including the post ID, comment ID, and post and comment content.In this study, we preprocessed the data through regularization, stop word removal, and word separation. First, we removed special symbols, such as URLs and emoticons, in the comments through regularization and stop word removal to reduce the interference of noise with the text analysis task. Then, we compiled a dictionary of 169 specialized terms, including types of AR, medications, and comorbidities, to reduce the probability of incorrect word segmentation. After word separation, we obtained a lexicon of 68,863 words and ranked the words according to the number of occurrences. We found that the top 10,000 words accounted for 94.83% of the total words, suggesting that many words recurred and a relatively simple word vector could effectively train the model [
]. This further confirms the efficacy of our decision to use Skip-gram as the foundational model.We observed ultrashort comment noise in the comments (eg, “Thank you!”). It is important to note that these ultrashort comments do not include any personal medical information. The ultrashort comments were filtered, resulting in 33,039 valid comments. This operation can effectively minimize the impact of noise on downstream text classification tasks. Table S1 in
presents the examples of valid comments.Annotation
The data must be labeled before supervised learning and then trained end to end. If a comment directly mentions an allergen or indicates a condition that leads to the appearance or worsening of symptoms, the comment will be labeled as 1, indicating the presence of risk factors, as shown in
.We randomly chose 2030 comments from the 33,039 comments, and 3 researchers labeled each comment as containing or not containing risk factors. To ensure high interannotator consistency, all 3 researchers annotated all 2030 comments. In cases with uncertainty in labeling, the 3 researchers discussed and arrived at a final label. After annotating and eliminating comments with religiously controversial content, 2000 labeled comments remained, consisting of 996 comments containing risk factors and 1004 comments not containing risk factors. The data set was divided into a 90% training set and a 10% test set. The 90% training set was further divided into 10 subsets, with 9 subsets used for training and the remaining subset used for validation, performing 10-fold cross-validation.
Topic Dictionary Construction
We used a combination of manual labeling and similarity calculation to identify keywords related to risk factors. Subsequently, we constructed a table of topic words using a semiautomated approach. The process of constructing the dictionary is depicted in
and is as follows: (1) label 400 randomly selected comments as described in the Annotation section, thereby obtaining 198 comments with risk factors; (2) extract risk factor phrases from annotated comments; (3) obtain risk factors topic word list; (4) remove duplicate word list, and the words in the current topic are used as seed words, word_set; (5) use Skip-gram to find the top similar words to expand the topic words; (6) repeat steps 3 through 5 to expand the topic word; and (7) finally, obtain the topic words for the risk factor. A large weight was assigned to the risk factor theme words. Table S2 in shows examples of the risk factor topic dictionary.Input: annotated comments
Output: topic dictionary
1. di= Select Annotated data;
2. pi= Extract from di
3. list =
for w in pi:
list_i.append(w)
4. word_set=set(list)
5. for w in set: word_i.update(Skip-gram.mostsimilar(topn=n))
6. Loop step3, step4, step5
Ethical Considerations
As the use of text data from social media involves user privacy, this study adopted the following steps for deidentification: (1) We removed user account information and retained only anonymous comment information. (2) We used regular expressions to match and delete URLs and email addresses in the comments. (3) During the annotation process, annotators received only text that did not involve personal information. To evaluate the quality of deidentification, we randomly selected 500 text items for manual inspection and did not find any instances containing personal identity information. Our data are sourced from public discussions on Zhihu, a social media platform that can be accessed without registration. We followed strict ethical research protocols similar to the guidelines by Eysenbach and Till [
]. In addition, to protect the anonymity of participants, we have implemented measures including the removal of user information and avoiding verbatim quotations to prevent identification through search engines, protecting the privacy and security of personal data. It should be mentioned that our study was focused on the post level; we do not anticipate any negative ethical impact from our analysis.Topic-Enhanced Word Embedding
TopicS performed 2 tasks during training, as shown in
. The first task was to predict the neighboring words within the window of the central word. The second task was to predict the topic of the central word; the topic dictionary used for this purpose is described in the Topic Dictionary Construction section.The specific formula calculations for the loss function design, parameter updates, and error backpropagation of TopicS are explained subsequently.
First, we defined the loss function. For each word in the corpus, we used it as the central word for a sliding operation with a window size of c; let S be the training sequence (w1,w2,...,wT), whereas wi denotes the ith word in the sequence. The subscript T represents the total number of unique words in the corpus. In addition to predicting the contextual word of the central word, we must also predict the topic score of the central word. Therefore, the loss function comprised 2 parts: Lcont and Ltopic, and the overall loss was denoted by Ls. Our training objective was to minimize the loss function:
The initial word vector was represented as one-hot vector. The central word was denoted as wcenter, the surrounding words of the central word were denoted as w(O,cont(i)), and the central word topic information was denoted as w(O,topic). The weight parameter λ was used to balance the loss of Lcont and Ltopic. After sliding the window to browse the entire corpus to average all loss window losses, error backpropagation was performed to update the parameters. The input matrix was represented as the central word vector. The actual loss function can be expressed as
Second, we introduced the rules for updating parameters. The parameters were updated through error backpropagation Here, ytrue represents the true value of the contextual words in the window, and ypred represents the predicted value.
Finally, we can update the word representation.
Text Classification
In this study, we chose TextCNN as the classification model. In the risk factor identification task, some key semantic information is more important, and TextCNN can efficiently use the key information for classification with minimal cost consumption. We represented the manually annotated text as a vector matrix using high-dimensional word vector representations trained by the TopicS model, which aggregates local contextual and topic information and uses it as input for the TextCNN model. Then, the TextCNN algorithm leverages convolutional kernels of different sizes to extract multiple n-gram text features and uses convolutional operations in a fixed window to combine word representations to capture local information. Our input word vector combined the topic information of words, and the most important features in the convolution operation can be extracted using the maximum pooling operation as shown in
.Clustering With a Review Mechanism
The clustering task is to group similar risk factors. In this study, a large amount of text containing risk factors was clustered into a manually observable number of categories, making it easier to comprehend their content. This study enhances the single-pass algorithm and integrates it with a manual review to cluster the risk factors identified in the text classification, ensuring the validity of the clustering results. The main concept of single-pass clustering [
] is to match informational text items based on their similarity values without the need to determine the number of clusters in advance. This makes it suitable for clustering tasks with an unknown number of clusters. However, traditional single-pass clustering uses only one-loop traversal, which may result in previously entered text items completing the traversal earlier. This can cause their similarity to the previous topics to be slightly lower than the threshold and lead to them being recreated as new categories, ultimately affecting the clustering effect.As shown in
, we improved the single-pass algorithm by retraversing the categories that were clustered separately after all the text items had been traversed to handle any missed text. After the automated clustering was completed, we conducted a manual review to ensure the reliability of the clustering.Moreover, this study uses a keyword cloud visualization of category content to quickly understand the themes and characteristics of each cluster and compare the differences between different clusters. TextRank [
] was selected to extract category keywords, which considers only the voting scores of words in a single document; common words that frequently appear in a single document easily obtain high scores [ ]. We treated each category as a single document for keyword extraction. As risk factors appear more frequently in categories, TextRank can effectively extract risk factors and surrounding words, preserving category content information as much as possible and reflecting the true content of the risk factors.Results
Overview
In this section, we present the performance of the classifier and the findings based on the categorization of all the comments in the clean data set using the classifier. Our approach involved visualizing the clustering results of the risk factors to comprehend the primary elements of these factors. We also explored the pathogenic mechanisms associated with these risk factors.
Classifier Performance
We used standard text-mining evaluation metrics such as accuracy, precision, recall, and F1-score to evaluate the performance. Precision assesses how many risk factors the model identifies correctly, and recall measures how many risk factors the model can identify on its test set. As we aimed to identify as many AR risk factors as possible to provide comprehensive references for individuals, recall was more important than precision in our study.
We set 7-word embedding dimensions ranging from 100 to 400.
displays the classification results of the TextCNN classification model with the 7 dimensions of Skip-gram and TopicS word vectors. In addition, TextRNN and transformer models were evaluated with the 7-word embedding dimensions of TopicS or Skip-gram, as shown in Tables S3 and S4 in ; the classification models performed better when the word-embedding dimension was 100 or 150, as shown in , which includes the results with best-performing dimensions. This study conducted word representation learning on a domain-specific input corpus, where low dimensionality was found to be sufficient to represent the features of the corpus [ ]. Moreover, TopicS not only improved precision but also significantly increased recall for all 3 models, as shown in .Evaluation metrics and model | 100 | 150 | 200 | 250 | 300 | 350 | 400 | ||||||||
Accuracy (%) | |||||||||||||||
Skip-gram | 93.75 | 94.85 | 94.00 | 93.15 | 93.80 | 93.49 | 93.40 | ||||||||
TopicSa | 95.10b | 96.10 | 94.80 | 94.45 | 94.95 | 95.25 | 95.40 | ||||||||
Precision (%) | |||||||||||||||
Skip-gram | 91.92 | 95.32 | 94.07 | 93.16 | 93.33 | 93.28 | 93.09 | ||||||||
TopicS | 96.32 | 95.95 | 95.56 | 94.11 | 95.20 | 95.87 | 96.53 | ||||||||
Recall (%) | |||||||||||||||
Skip-gram | 94.00 | 94.50 | 94.00 | 93.30 | 94.40 | 93.90 | 93.90 | ||||||||
TopicS | 95.90 | 96.30 | 94.00 | 94.90 | 94.70 | 94.60 | 94.20 | ||||||||
F1-score (%) | |||||||||||||||
Skip-gram | 93.90 | 94.88 | 93.95 | 93.17 | 93.84 | 93.48 | 93.44 | ||||||||
TopicS | 95.09 | 96.10 | 94.77 | 94.48 | 94.94 | 95.22 | 95.34 |
aTopicS represents the topic-enhanced word-embedding model proposed in this paper.
bItalicization represents that the metrics of TopicS are better than Skip-gram for each metric.
Model (Embed_sizea) | Accuracy (%) | Precision (%) | Recall (%) | F1-score (%) | Time (s) | |||||
TextCNN | ||||||||||
Skip-gram (150 dimens) | 94.85 | 95.32 | 94.50 | 94.88 | 40.30 | |||||
TopicS (150 dimens) | 96.10b | 95.94 | 96.30 | 96.10 | 35.23 | |||||
TextRNN | ||||||||||
Skip-gram (150 dimens) | 94.85 | 95.32 | 94.50 | 94.88 | 40.30 | |||||
TopicS (150 dimens) | 96.10b | 95.94 | 96.30 | 96.10 | 35.23 | |||||
Transformer | ||||||||||
Skip-gram (100 dimens) | 85.45 | 85.06 | 78.80 | 81.13 | 55.16 | |||||
TopicS (150 dimens) | 90.70 | 90.90 | 90.60 | 90.68 | 49.32 |
aEmbed_size represents the word-embedding size.
bItalicization represents that the metrics of TopicS are better than Skip-gram for each model.
shows that TextCNN has the highest accuracy and recall rate among the 3 classification models. The highest accuracy achieved by our classification model was 0.9594, which used a 150-dimension word-embedding representation obtained from TopicS. In other words, TextCNN can detect more risk factors and minimize the loss of risk factors resulting from classification errors. The CNN model can extract key information similar to n-grams in sentences. The combination of TopicS and TextCNN can enhance topic information and achieve an aggregation effect. Our implementation process was the simplest and consumed the least resources. Our model examined 30,372 comments and identified 5221 comments containing risk factors.
Risk Factor Clustering Results
We clustered the text items obtained from the text classification into 28 categories and extracted keywords from each category to better understand the content.
shows the top 5 categories and their corresponding keywords. The complete list can be found in Table S5 in . We used category 1 as an example to explain the category formation process and demonstrate the validity of the qualitative results. As shown in , we labeled category 1 as Season based on the analysis of keyword weights and relative comments. The comments related to this category focused on seasonally induced AR, with factors such as changes in the weather during seasonal transitions and colder temperatures during winter, which can exacerbate symptoms. We also counted the number of text items in each category and found that seasonal, regional, mites, and weather changes were common risk factors for most patients. In addition, patients’ unhealthy lifestyle habits were also important risk factors widely present in research investigations. Furthermore, most patients reported experiencing symptoms at specific times (eg, “morning”), but researchers have paid little attention to the timing of symptom occurrence (which we refer to as time points).Category | Top 10 words (weight) | Word cloud | Number of text items |
Season | Summer (0.031), winter (0.031), season (0.02), season change (0.014), spring (0.013), autumn (0.013), seasonal (0.013), nose (0.011), air conditioning (0.01), month (0.007) | 852 | |
Region | Beijing (0.035), Shenzhen (0.019), air (0.010), Wuhan (0.010), Guangdong (0.01), city (0.009), Shanghai (0.009), dust mites (0.009), nose (0.009), university (0.009) | 644 | |
Mites | Dust mites (0.111), mites (0.045), dust (0.02), allergy (0.012), pollen (0.008), allergens (0.007), effect (0.006), child (0.005), nose (0.005), cold air (0.005) | 608 | |
Weather | Cold air (0.071), weather (0.023), temperature (0.021), nose (0.02), winter (0.009), changes (0.008), air (0.008), alternate (0.008), summer (0.007), air conditioning (0.007) | 538 | |
Other diseases | Cold and flu (0.095), conjunctivitis (0.019), urticaria (0.016), nose (0.01), asthma (0.009), cough (0.008), eczema (0.008), winter (0.004), eyes (0.004), physique (0.004) | 372 |
The Possible Pathway of Several Risk Factors Triggers AR
We referred to the relevant literature on the risk factors associated with AR to confirm whether the extracted risk factors were consistent with the general medical consensus. Our findings are novel compared with those in the literature [
]. Previous survey-based studies have explored only the correlation between risk factors and AR, whereas our experimental data provide insight into the potential pathogenesis of reported risk factors. The following section provides a theoretical discussion of potential pathways for several risk factors that trigger AR:- Season: (1) seasonal risk factors are manifested in pollen allergens. Tree allergens such as elm and cypress pollen are prevalent in early spring, followed by ash, pine, and birch pollen in late spring. In summer, grasses, artemisia, and flowering plants grow vigorously owing to increased rainfall, leading to increased pollen spread from these plants. In autumn, weeds account for the largest proportion of pollen allergens. (2) Different climatic conditions in different seasons contribute to the development of allergies. For example, in early spring, frequent cold and high-pressure air activity in East Asia causes intense atmospheric circulation, resulting in alternating hot and cold temperatures that impair the immune regulatory function of the human body, leading to increased allergy attacks. In autumn, changeable weather, large temperature differences, and sunlight and UV radiation can stimulate allergic reactions in people with weak lungs or those who are prone to AR. In addition, seasonal changes and increasing temperature differences between day and night can disrupt the human immune system.
- Poor habits: major keywords for this topic were “smoking,” “staying up late,” and “resistance.” (1) Habits such as staying up late, lack of exercise, smoking, and alcohol abuse can weaken immunity and resistance. Gangl et al [ ] found that smoking can reduce the integrity and barrier function of respiratory epithelial cells, thereby making smokers more susceptible to allergens. (2) An irregular diet can damage the spleen and stomach, which is also a key factor in the development of AR. (3) The frequent use of air conditioning in summer can cause nasal mucosa irritation owing to temperature fluctuations. Long-term exposure to adverse stimuli can cause dryness of the nasal cavity and weaken the resistance of the mucosal epithelium, which may lead to AR.
- Allergens: we grouped clusters that included mites, plants, food, animals, and mold as allergens. (1) The findings of this study suggest that dust mites are the primary allergen, and exposure to a certain concentration of indoor dust mites can lead to AR. The ideal humidity level for dust mite growth is between 75% and 80%, and dust mites tend to thrive during spring and autumn and in warm and humid environments. Studies have shown that a large number of dust mites may be attached to uncleaned air conditioning filters, confirming that air conditioning is an important route of transmission for household dust mites [ ]. (2) Allergenic pollen species are closely related to regions and seasons, and some regions now provide pollen concentration and allergy index broadcasts based on meteorological conditions, which is highly convenient for individuals experiencing allergy. (3) Food allergens such as milk, eggs, wheat, soybeans, and peanuts can also trigger AR. (4) Apart from dust mites, other perennial indoor allergens include animal dander, cockroach excrement, and molds.
- Outdoor environment: this topic had “dust,” “air quality,” “trust,” and “allergen” as high scoring words. (1) Various substances present in the outdoor environment can trigger AR. Industrialization has increased the content of aromatic hydrocarbon particles, ethanol, and formaldehyde in diesel exhaust, which can damage the mucous membrane and serve as a strong stimulus for AR attacks. (2) Air pollution can affect the distribution of allergens such as mold and pollen. In hazy weather, allergens tend to stay in the air longer, increasing the chance and duration of contact with the human body and leading to AR. (3) High winds can raise dust, pollen, mites, bacteria, and other allergenic factors, increasing their concentration in the air and making it easier to trigger AR.
- Time points: patients with AR are more likely to experience symptoms during 2 specific time points, morning and evening. Schenkel et al [ ] assessed the severity of 4 nasal symptoms (sneezing, blockage, nasal runny nose, and nasal itch) at different times of the day, revealing that morning and evening symptoms were the most severe. This may be because of the circadian rhythm, pollen concentration, or personal behavior exacerbating the symptoms. In the evening, when the wind subsides, pollen settles closer to the ground and can be inhaled more easily. In addition, although humans rest at night in a horizontal position, nasal ventilation may be more difficult, leading to more severe symptoms. In the morning, low temperatures can cause congestion and swelling of the nasal mucosa because of the temperature difference between the environment and the body. This cluster had words such as “evening,” “get up early,” and “nose” as highly rated words.
This theoretical discussion regarding the potential pathway of risk factors that trigger AR can guide the development of detailed AR intervention measures. For example, patients with AR can pay attention to pollen concentration and temperature changes and adjust their outings and clothing accordingly based on the characteristics of the season; they can set the air conditioner to turn on or off based on their waking time to reduce the inhalation of cold air when waking up. Furthermore, they can adjust their sleeping position to reduce the frequency of nighttime symptoms.
Discussion
Principal Findings
This study aimed to identify the risk factors for AR based on social media comments. To do so, a data set of comments related to AR was collected, processed, and analyzed. The data set covered a consecutive period from May 2012 to May 2022. Overall, this analysis provided new insights into three main questions: (1) How many comments contained AR risk factor information? (2) How many categories can these risk factors be summarized into? (3) How do these risk factors trigger AR?
In assessing the identification of AR risk factors, we found that TopicS enhanced both precision and recall. TextCNN outperformed other models, achieving an accuracy of 0.9594 with a 150-dimension TopicS embedding. Analyzing 30,372 comments, our model pinpointed 5221 comments with risk factors. Categorizing the text items led to 28 distinct categories, with seasonal factors, regional variations, mites, weather changes, and unhealthy lifestyle habits emerging as common risks.
Furthermore, our research into AR risk factors revealed how risk factors trigger AR and uncovered the frequently reported, but underresearched, risk factors by affected individuals. Seasonal changes, especially during spring and autumn, increase exposure to pollen allergens, with varying climatic conditions affecting the development of allergies. Poor habits, such as smoking, irregular sleep, and frequent use of air conditioning, compromise immunity and heighten AR susceptibility. Dust mites, influenced by humidity, stand out as a primary allergen, with food items and indoor factors, such as animal dander, also triggering AR. Industrial pollutants and outdoor environmental factors amplify AR risk. Notably, AR symptoms intensify during mornings and evenings, which is likely influenced by circadian rhythms and environmental factors.
Limitations and Future Work
This study has some limitations. Our study was based on the self-reported nature of social media data, and the lack of more detailed information from the study participants was a concern. Our statistics showed that seasonal factors, regional variations, mites, weather changes, and unhealthy lifestyle habits emerge as common risk factors, which is consistent with the findings of other studies based on surveys. Although social media may lack in-depth patient information, it provides an effective method of collecting breadth of data. Social media data can be gathered 24 hours a day and are an extremely efficient way to rapidly update new knowledge into the risk factor knowledge base. In the future, our framework can be expanded in 2 ways. First, the framework can track the development trends and changes in AR risk factors by leveraging real-time internet data sets. Second, the framework can be generalized and extended to detect patterns, trends, and risk factors for other chronic diseases such as type 2 diabetes.
Conclusions
In this model improvement study, we proposed a topic-enhanced word-embedding model to improve the accuracy and recall of the text classification, namely to uncover less common or other types of risk factors based on social media data that have not been previously reported. The risk factors identified in this study can be a helpful reference for people with AR to reduce the development of the disease in their daily lives. This study establishes a knowledge base of potential risk factors for individuals who may not be aware of the factors that could trigger their symptoms. Patients can compare their lifestyle habits and medical history to identify their risk factors, which could help reduce the frequency of episodes and prevent the decline in their quality of life caused by blindly avoiding potential triggers. Our findings demonstrate the practicality and feasibility of using social media data for investigating disease knowledge. These findings may provide guidance for the development of management plans and interventions for AR.
Acknowledgments
The data set collection and analysis of this research were partially supported by the National Natural Science Foundation of China (grants 72131006, 72071063, and 72271082); Anhui Provincial Key Research and Development Plan Project (grant 2022i01020003); and the Fundamental Research Funds for the Central Universities (grant JS2023ZSPY0063).
Data Availability
The data sets generated and analyzed during this study are available from the corresponding author upon reasonable request.
Authors' Contributions
DG conceptualized and investigated the study. QW drafted the methodology, performed the software analysis, and prepared the original draft. YC reviewed and edited the draft. XY completed the investigation. WZ drafted the methodology and supervised the study. ML supervised the study. ZX conceptualized the study. GZ and ZO supervised the study.
Conflicts of Interest
None declared.
Examples of social media text, topic dictionary examples, word-embedding dimension parameters with TextRNN, word-embedding dimension parameters with transformer, and social media category distribution and visualization.
DOCX File , 693 KBWord cloud 1.
PNG File , 119 KBWord cloud 2.
PNG File , 120 KBWord cloud 3.
PNG File , 122 KBWord cloud 4.
PNG File , 121 KBWord cloud 5.
PNG File , 111 KBReferences
- Pawankar R, Baena-Cagnani CE, Bousquet J, Walter Canonica G, Cruz AA, Kaliner MA, et al. State of world allergy report 2008: allergy and chronic respiratory diseases. World Allergy Org J. 2008;1:S4-17. [CrossRef]
- Krishna MT, Mahesh PA, Vedanthan PK, Mehta V, Moitra S, Christopher DJ. The burden of allergic diseases in the Indian subcontinent: barriers and challenges. Lancet Glob Health. Apr 2020;8 (4):e478-e479. [FREE Full text] [CrossRef] [Medline]
- Greiner AN, Hellings PW, Rotiroti G, Scadding GK. Allergic rhinitis. Lancet. Dec 17, 2011;378 (9809):2112-2122. [CrossRef] [Medline]
- Wang XD, Zheng M, Lou HF, Wang CS, Zhang Y, Bo MY, et al. An increased prevalence of self-reported allergic rhinitis in major Chinese cities from 2005 to 2011. Allergy. Aug 13, 2016;71 (8):1170-1180. [FREE Full text] [CrossRef] [Medline]
- Price D, Smith P, Hellings P, Papadopoulos N, Fokkens W, Muraro A, et al. Current controversies and challenges in allergic rhinitis management. Expert Rev Clin Immunol. Aug 29, 2015;11 (11):1205-1217. [CrossRef]
- Cardell LO, Olsson P, Andersson M, Welin KO, Svensson J, Tennvall GR, et al. TOTALL: high cost of allergic rhinitis-a national Swedish population-based questionnaire study. NPJ Prim Care Respir Med. Feb 04, 2016;26 (1):15082. [FREE Full text] [CrossRef] [Medline]
- Terreehorst I, Hak E, Oosting AJ, Tempels-Pavlica Z, de Monchy JG, Bruijnzeel-Koomen CA, et al. Evaluation of impermeable covers for bedding in patients with allergic rhinitis. N Engl J Med. Jul 17, 2003;349 (3):237-246. [FREE Full text] [CrossRef] [Medline]
- Zhang Y, Zhang L. Increasing prevalence of allergic rhinitis in China. Allergy Asthma Immunol Res. Mar 2019;11 (2):156-169. [FREE Full text] [CrossRef] [Medline]
- Gao H, Niu Y, Wang Q, Shan G, Ma C, Wang H, et al. Analysis of prevalence and risk factors of adult self-reported allergic rhinitis and asthma in plain lands and hilly areas of Shenmu City, China. Front Public Health. Jan 4, 2021;9:749388. [FREE Full text] [CrossRef] [Medline]
- Li L, Zhou J, Ma Z, Bensi MT, Hall MA, Baecher GB. Dynamic assessment of the COVID-19 vaccine acceptance leveraging social media data. J Biomed Inform. May 2022;129:104054. [FREE Full text] [CrossRef] [Medline]
- Castillo A, Benitez J, Llorens J, Luo X. Social media-driven customer engagement and movie performance: theory and empirical evidence. Decis Support Syst. Jun 2021;145:113516. [CrossRef]
- Stieglitz S, Dang-Xuan L. Emotions and information diffusion in social media—sentiment of microblogs and sharing behavior. J Manag Inf Syst. Dec 08, 2014;29 (4):217-248. [CrossRef]
- Kumar A, Srinivasan K, Wen-Huang C, Zomaya AY. Hybrid context enriched deep learning model for fine-grained sentiment analysis in textual and visual semiotic modality social data. Inf Process Manag. Jan 2020;57 (1):102141. [CrossRef]
- Liu X, Wang GA, Fan W, Zhang Z. Finding useful solutions in online knowledge communities: a theory-driven design and multilevel analysis. Inf Syst Res. Sep 2020;31 (3):731-752. [CrossRef]
- Lindelöf G, Aledavood T, Keller B. Dynamics of the negative discourse toward COVID-19 vaccines: topic modeling study and an annotated data set of Twitter posts. J Med Internet Res. Apr 12, 2023;25:e41319. [FREE Full text] [CrossRef] [Medline]
- Zhu J, Li Z, Zhang X, Zhang Z, Hu B. Public attitudes toward anxiety disorder on Sina Weibo: content analysis. J Med Internet Res. Apr 04, 2023;25:e45777. [FREE Full text] [CrossRef] [Medline]
- Shin D, He S, Lee GM, Whinston AB, Cetintas S, Lee KC. Enhancing social media analysis with visual data analytics: a deep learning approach. MIS Q. Dec 1, 2020;44 (4):1459-1492. [CrossRef]
- Paul M, Dredze M. You are what you tweet: analyzing Twitter for public health. Proc Int AAAI Conf Web Social Media. Aug 03, 2021;5 (1):265-272. [CrossRef]
- Pradeepa S, Manjula KR, Vimal S, Khan MS, Chilamkurti N, Luhach AK. DRFS: detecting risk factor of stroke disease from social media using machine learning techniques. Neural Process Lett. Jun 09, 2020;55 (4):3843-3861. [CrossRef]
- Xie J, Liu X, Zeng DD, Fang X. Understanding medication nonadherence from social media: a sentiment-enriched deep learning approach. MIS Q. Feb 25, 2022;46 (1):341-372. [CrossRef]
- Navale V, McAuliffe M. The integration of a canonical workflow framework with an informatics system for disease area research. Data Intell. 2022;4 (2):186-195. [CrossRef]
- Zhang Y, Lan F, Zhang L. Advances and highlights in allergic rhinitis. Allergy. Nov 17, 2021;76 (11):3383-3389. [CrossRef] [Medline]
- Chiang TY, Yuan TH, Shie RH, Chen CF, Chan CC. Increased incidence of allergic rhinitis, bronchitis and asthma, in children living near a petrochemical complex with SO pollution. Environ Int. Nov 2016;96:1-7. [CrossRef] [Medline]
- Kurganskiy A, Creer S, de Vere N, Griffith GW, Osborne NJ, Wheeler BW, PollerGEN Consortium; et al. Predicting the severity of the grass pollen season and the effect of climate change in Northwest Europe. Sci Adv. Mar 26, 2021;7 (13):eabd7658. [FREE Full text] [CrossRef] [Medline]
- Lee JY, Lee J, Huh DA, Moon KW. Association between environmental exposure to phthalates and allergic disorders in Korean children: Korean National Environmental Health Survey (KoNEHS) 2015-2017. Int J Hyg Environ Health. Sep 2021;238:113857. [CrossRef] [Medline]
- Paciência I, Cavaleiro Rufo J, Silva D, Mendes F, Farraia M, Delgado L, et al. Effects of indoor endocrine-disrupting chemicals on childhood rhinitis. J Investig Allergol Clin Immunol. Jun 18, 2020;30 (3):195-197. [FREE Full text] [CrossRef] [Medline]
- Saulyte J, Regueira C, Montes-Martínez A, Khudyakov P, Takkouche B. Active or passive exposure to tobacco smoking and allergic rhinitis, allergic dermatitis, and food allergy in adults and children: a systematic review and meta-analysis. PLoS Med. Mar 11, 2014;11 (3):e1001611. [FREE Full text] [CrossRef] [Medline]
- Kong IG, Rhee CS, Lee JW, Yim H, Kim MJ, Choi Y, et al. Association between perceived stress and rhinitis-related quality of life: a multicenter, cross-sectional study. J Clin Med. Aug 19, 2021;10 (16):3680. [FREE Full text] [CrossRef] [Medline]
- Han YY, Forno E, Gogna M, Celedón JC. Obesity and rhinitis in a nationwide study of children and adults in the United States. J Allergy Clin Immunol. May 2016;137 (5):1460-1465. [FREE Full text] [CrossRef] [Medline]
- Kanazawa J, Masuko H, Yatagai Y, Sakamoto T, Yamada H, Kitazawa H, et al. Association analyses of eQTLs of the TYRO3 gene and allergic diseases in Japanese populations. Allergol Int. Jan 2019;68 (1):77-81. [FREE Full text] [CrossRef] [Medline]
- Alm B, Goksör E, Pettersson R, Möllborg P, Erdes L, Loid P, et al. Antibiotics in the first week of life is a risk factor for allergic rhinitis at school age. Pediatr Allergy Immunol. Aug 09, 2014;25 (5):468-472. [FREE Full text] [CrossRef] [Medline]
- Ho CL, Wu WF. Risk factor analysis of allergic rhinitis in 6-8 year-old children in Taipei. PLoS One. Apr 2, 2021;16 (4):e0249572. [FREE Full text] [CrossRef] [Medline]
- Zhang W, Ram S. A comprehensive analysis of triggers and risk factors for asthma based on machine learning and large heterogeneous data sources. MIS Q. Jan 01, 2020;44 (1):305-349. [CrossRef]
- Griffis H, Asch DA, Schwartz HA, Ungar L, Buttenheim AM, Barg FK, et al. Using social media to track geographic variability in language about diabetes: analysis of diabetes-related tweets across the United States. JMIR Diabetes. Jan 26, 2020;5 (1):e14431. [FREE Full text] [CrossRef] [Medline]
- Schäfer F, Faviez C, Voillot P, Foulquié P, Najm M, Jeanne JF, et al. Mapping and modeling of discussions related to gastrointestinal discomfort in French-speaking online forums: results of a 15-year retrospective infodemiology study. J Med Internet Res. Nov 03, 2020;22 (11):e17247. [FREE Full text] [CrossRef] [Medline]
- Oyebode O, Orji R. Detecting factors responsible for diabetes prevalence in Nigeria using social media and machine learning. In: Proceedings of the 15th International Conference on Network and Service Management (CNSM). 2019. Presented at: 15th International Conference on Network and Service Management (CNSM); October 21-25, 2019, 2019; Halifax, NS. [CrossRef]
- Ramsingh J, Bhuvaneswari V. A big data framework to analyze risk factors of diabetes outbreak in indian population using a map reduce algorithm. In: Proceedings of the Second International Conference on Intelligent Computing and Control Systems (ICICCS). 2018. Presented at: Second International Conference on Intelligent Computing and Control Systems (ICICCS); June 14-15, 2018, 2018; Madurai, India. [CrossRef]
- Ramsingh J, Bhuvaneswari V. An integrated multi-node Hadoop framework to predict high-risk factors of diabetes mellitus using a multilevel MapReduce based fuzzy classifier (MMR-FC) and modified DBSCAN algorithm. Appl Soft Comput. Sep 2021;108:107423. [CrossRef]
- Alswedani S, Mehmood R, Katib I, Altowaijri SM. Psychological health and drugs: data-driven discovery of causes, treatments, effects, and abuses. Toxics. Mar 20, 2023;11 (3):102681. [CrossRef] [Medline]
- Chung JE, Mustapha IZ, Li J, Gu X. Discourse about human papillomavirus (HPV)-associated oropharyngeal cancer (OPC) on Twitter: lessons for public health education about OPC and dental care. Public Health Pract (Oxf). Jun 2022;3:100239. [FREE Full text] [CrossRef] [Medline]
- Neisani Samani Z, Karimi M, Alesheikh A. Environmental and infrastructural effects on respiratory disease exacerbation: a LBSN and ANN-based spatio-temporal modelling. Environ Monit Assess. Jan 04, 2020;192 (2):90. [CrossRef] [Medline]
- Mikolov T, Sutskever I, Chen K, Corrado G, Dean J. Distributed representations of words and phrases and their compositionality. arXiv. Preprint posted online October 16, 2013. [FREE Full text] [CrossRef]
- Tang D, Wei F, Yang N, Zhou M, Liu T, Qin B. Learning sentiment-specific word embedding for Twitter sentiment classification. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2014. Presented at: 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); June 22-27, 2014, 2014; Baltimore, MD. [CrossRef]
- Yilmaz S, Toklu S. A deep learning analysis on question classification task using Word2vec representations. Neural Comput Appl. Jan 21, 2020;32 (7):2909-2928. [CrossRef]
- Shi B, Fu Z, Bing L, Lam W. Learning domain-sensitive and sentiment-aware word embeddings. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2018. Presented at: 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); July 15-20, 2018, 2018; Melbourne, Australia. [CrossRef]
- Kim Y. Convolutional neural networks for sentence classification. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). 2014. Presented at: 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP); October 25-29, 2014, 2014; Doha, Qatar. [CrossRef]
- Zaremba W, Sutskever I, Vinyals O. Recurrent neural network regularization. arXiv. Preprint posted online September 8, 2014. [FREE Full text] [CrossRef]
- Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. arXiv. Preprint posted online June 12, 2017.
- Zhang K, Moe W. Measuring brand favorability using large-scale social media data. Inf Syst Res. Dec 2021;32 (4):1128-1139. [CrossRef]
- Abbasi A, Li J, Adjeroh D, Abate M, Zheng W. Don’t mention it? Analyzing user-generated content signals for early adverse event warnings. Inf Syst Res. Sep 2019;30 (3):1007-1028. [CrossRef]
- Guo Q, Chen W, Wan H. AOL4PS: a large-scale data set for personalized search. Data Intell. 2021;3 (4):548-567. [CrossRef]
- Khatua A, Khatua A, Cambria E. A tale of two epidemics: contextual Word2Vec for classifying Twitter streams during outbreaks. Inf Process Manag. Jan 2019;56 (1):247-257. [CrossRef]
- Gu D, Li M, Yang X, Gu Y, Zhao Y, Liang C, et al. An analysis of cognitive change in online mental health communities: a textual data analysis based on post replies of support seekers. Inf Process Manag. Mar 2023;60 (2):103192. [CrossRef]
- Eysenbach G, Till JE. Ethical issues in qualitative research on internet communities. BMJ. Nov 10, 2001;323 (7321):1103-1105. [FREE Full text] [CrossRef] [Medline]
- Shen D, Yang Q, Sun JT, Chen Z. Thread detection in dynamic text message streams. In: Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval. 2006. Presented at: SIGIR '06; August 6-11, 2006, 2006; Seattle, WA. [CrossRef]
- Mihalcea R, Tarau P. TextRank: bringing order into text. In: Proceedings of the 2004 Conference on Empirical Methods in Natural Language Processing. 2004. Presented at: 2004 Conference on Empirical Methods in Natural Language Processing; July 25-26, 2004, 2004; Barcelona, Spain. URL: https://aclanthology.org/W04-3252.pdf
- Long S, Yan L. Rank-IDF: a statistical and network based feature words selection in big data text analysis. In: Proceedings of the 2020 5th International Conference on Mathematics and Artificial Intelligence. 2020. Presented at: ICMAI '20; April 10-13, 2020, 2020; Chengdu, China. [CrossRef]
- Wright AP, Jones CM, Chau DH, Matthew Gladden R, Sumner SA. Detection of emerging drugs involved in overdose via diachronic word embeddings of substances discussed on social media. J Biomed Inform. Jul 2021;119:103824. [FREE Full text] [CrossRef] [Medline]
- Zhou J, Zhang Q, Zhou S, Li X, Zhang X. Unintended emotional effects of online health communities: a text mining-supported empirical study. MIS Q. Mar 01, 2023;47 (1):195-226. [CrossRef]
- Gangl K, Reininger R, Bernhard D, Campana R, Pree I, Reisinger J, et al. Cigarette smoke facilitates allergen penetration across respiratory epithelium. Allergy. Mar 23, 2009;64 (3):398-405. [CrossRef] [Medline]
- Liu Z, Bai Y, Ji K, Liu X, Cai C, Yu H, et al. Detection of dermatophagoides farinae in the dust of air conditioning filters. Int Arch Allergy Immunol. Aug 10, 2007;144 (1):85-90. [CrossRef] [Medline]
- Schenkel EJ. Effect of desloratadine on the control of morning symptoms in patients with seasonal and perennial allergic rhinitis. Allergy Asthma Proc. Nov 01, 2006;27 (6):465-472. [CrossRef] [Medline]
Abbreviations
AR: allergic rhinitis |
CBOW: Continuous Bag-of-Words Model |
CNN: convolutional neural network |
RNN: recurrent neural network |
Edited by A Mavragani; submitted 19.04.23; peer-reviewed by X Liu, Y Cao; comments to author 12.10.23; revised version received 30.10.23; accepted 03.01.24; published 22.02.24.
Copyright©Dongxiao Gu, Qin Wang, Yidong Chai, Xuejie Yang, Wang Zhao, Min Li, Oleg Zolotarev, Zhengfei Xu, Gongrang Zhang. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 22.02.2024.
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 the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.