{"title":"基于CNN-BiLSTM和关注机制的网络舆情情感分析","authors":"Lingwei Wei, Lei Yang","doi":"10.1117/12.2682437","DOIUrl":null,"url":null,"abstract":"Emotion recognition from social network texts aims to mine netizens’ subjective emotions, such as stances and emotional tendencies, over an event, which is imperative for monitoring Internet public opinion. Convolutional neural networks (CNN) and bidirectional long short-term memory (BiLSTM) are widely used in the field of text classification. The combination of the two can exploit the CNNs’ feature extraction ability and BiLSTM’s ability to extract context dependency. However, for emotional recognition, it is also necessary to consider some specific words in online social text. Therefore, we constructed a model for emotion recognition based on Internet public opinion in three steps. First, the CNN was used to extract local features of social network texts. Second, context-related global features were extracted using the BiLSTM. Finally, we introduced an attention mechanism to obtain important features. Experiments were conducted using netizens’ comments from a microblog during the COVID-19 epidemic as the dataset. Experimental results showed that the feature vector of the proposed model (i.e., the CNN-BiLSTM-Attention model) contains richer semantic information of texts, which can effectively improve the performance of emotion recognition from Internet public opinions.","PeriodicalId":440430,"journal":{"name":"International Conference on Electronic Technology and Information Science","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Sentiment analysis of online public opinion based on CNN-BiLSTM and attention mechanism\",\"authors\":\"Lingwei Wei, Lei Yang\",\"doi\":\"10.1117/12.2682437\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Emotion recognition from social network texts aims to mine netizens’ subjective emotions, such as stances and emotional tendencies, over an event, which is imperative for monitoring Internet public opinion. Convolutional neural networks (CNN) and bidirectional long short-term memory (BiLSTM) are widely used in the field of text classification. The combination of the two can exploit the CNNs’ feature extraction ability and BiLSTM’s ability to extract context dependency. However, for emotional recognition, it is also necessary to consider some specific words in online social text. Therefore, we constructed a model for emotion recognition based on Internet public opinion in three steps. First, the CNN was used to extract local features of social network texts. Second, context-related global features were extracted using the BiLSTM. Finally, we introduced an attention mechanism to obtain important features. Experiments were conducted using netizens’ comments from a microblog during the COVID-19 epidemic as the dataset. Experimental results showed that the feature vector of the proposed model (i.e., the CNN-BiLSTM-Attention model) contains richer semantic information of texts, which can effectively improve the performance of emotion recognition from Internet public opinions.\",\"PeriodicalId\":440430,\"journal\":{\"name\":\"International Conference on Electronic Technology and Information Science\",\"volume\":\"33 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-06-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Electronic Technology and Information Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1117/12.2682437\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Electronic Technology and Information Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2682437","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Sentiment analysis of online public opinion based on CNN-BiLSTM and attention mechanism
Emotion recognition from social network texts aims to mine netizens’ subjective emotions, such as stances and emotional tendencies, over an event, which is imperative for monitoring Internet public opinion. Convolutional neural networks (CNN) and bidirectional long short-term memory (BiLSTM) are widely used in the field of text classification. The combination of the two can exploit the CNNs’ feature extraction ability and BiLSTM’s ability to extract context dependency. However, for emotional recognition, it is also necessary to consider some specific words in online social text. Therefore, we constructed a model for emotion recognition based on Internet public opinion in three steps. First, the CNN was used to extract local features of social network texts. Second, context-related global features were extracted using the BiLSTM. Finally, we introduced an attention mechanism to obtain important features. Experiments were conducted using netizens’ comments from a microblog during the COVID-19 epidemic as the dataset. Experimental results showed that the feature vector of the proposed model (i.e., the CNN-BiLSTM-Attention model) contains richer semantic information of texts, which can effectively improve the performance of emotion recognition from Internet public opinions.