A Text Emotion Analysis Method Using the Dual-Channel Convolution Neural Network in Social Networks

In order to solve the problem that the existing deep learning method has insufficient ability in feature extraction in the text emotion classification task, this paper proposes a text emotion analysis using the dual-channel convolution neural network in the social network. First, a double-channel convolutional neural network is constructed. Combined with emotion words, parts of speech, degree adverbs, negative words, punctuation, and other word features that affect the text’s emotional tendency, an extended text feature is formed. )en, using the CNN’s multichannel mechanism, the extended text features based on the word vector features and the semantic features based on the word vectors are, respectively, input into the CNN model. After each convolution operation of the convolution channel, the BN technology is used to normalize the internal data of the network and the padding technology is used to improve the ability of the model to extract edge features of the data and the speed of the model. Finally, a dynamic k-max continuous pooling strategy is adopted to realize the dimensionality reduction of features and enhance the model’s ability to extract features. )e experimental results show that the accuracy and F1 values obtained by the proposed method can be as high as 94.16% and 92.61%, respectively, which are better than several comparison algorithms.


Introduction
Text emotion classification in social networks is an important subtask of emotion analysis, and its goal is to judge the emotional orientation of texts [1][2][3]. It belongs to the category of opinion mining and is used to analyze users' views, emotions, and attitudes towards entities (such as products, services, individuals, and events) based on the user's behavior in social networks (such as comments and word-of-mouth) and on the basis of logic, linguistics, and psychology. e most common methods are feature-based classification methods and emotion knowledge-based classification methods. e feature-based classification method makes good use of the effective features of the text and has a good classification effect in datasets with small data volume and high annotation quality [4,5]. However, the model generalization ability of this kind of method is weak [6], which requires a lot of annotation data and artificially designed features. e classification method based on emotion knowledge classifies text by using the emotion dictionary [7], the domain dictionary [8], and a series of judgment rules and determines the emotional polarity of all words by calculating the point mutual information of each word and the reference word [9,10], so as to obtain a better classification effect. However, this kind of method is not good for text classification in a large number of emerging languages, which requires a lot of work to summarize and mine rules from data.
Aiming at the problem of text emotion analysis, a text emotion analysis method for e-commerce that reviews text using the depth double-channel convolutional neural network (DDCCNN) is proposed and the sparse text features are improved. e main innovations of the proposed method are summarized as follows: (1) In view of the sparse features in the text dataset, the existing deep learning methods have insufficient feature extraction capabilities in text emotion classification tasks. A double-channel convolutional neural network is constructed, and the multichannel mechanism of the CNN is used to represent the text based on the word vector features. Input the CNN model separately from the text representation based on extended features, fully considering the extraction of the edge features of the dataset. (2) In this model, the BN layer is added after each convolution operation of the convolution channel. e BN technology is used to normalize the internal data of the network, which improves the accuracy of model training.

Related Work
Convolutional neural network is a multilayer artificial neural network that was originally used to solve image recognition problems. With the continuous improvement of the model structure, the CNN has now become one of the most effective tools for solving text classification problems. For the problem of text emotion analysis, scholars have proposed many methods. For example, Feuerriegel et al. [11] proposed an emotion analysis method based on transfer learning. By pretraining for different tasks and then adjusting the output layer to the emotion recognition task, the accuracy of the model is improved. Li and Wu [12] proposed an online prediction method for text mining and emotion analysis, which automatically improves the accuracy of the model by automatically analyzing the emotion polarity of the text and obtaining the value of each text. Massie et al. [13] proposed a vocabulary-based feature extraction method for text emotion classification. By expanding domain-specific emotion dictionaries, the vocabulary not only adapts to vocabulary changes in a certain field but also provides accurate quantitative evaluation, improving the accuracy of the model rate. e document model based on deep learning proposed in [14] is used for text emotion recognition. By combining features related to emotion recognition and the CNN, a feature extractor is constructed, and the personality tendency of the article author is judged by extracting features. He and Xia [15] proposed a joint binary neural network (JBNN) multilabel text emotion analysis method by feeding the representation of the text to a set of logic functions and performing multiple binary classifications in the neural network while simultaneously improving the accuracy of the model. However, the generalization ability of these methods is weak, which requires a lot of annotation data and artificially designed features. Rahmani et al. [16] proposed an emotion analysis method based on improved pretraining word embedding, which improves the accuracy of the model by improving the accuracy of pretraining word embedding in emotion analysis. Philipe et al. [17] proposed a stable emotion analysis method based on offthe-shelf methods, which improves the robustness of the model by reducing the large variability of cross-domain unsupervised methods. Wang et al. [18] proposed a text emotion analysis method of the joint factor graph model. By considering the relationship between different emotions and using confidence propagation algorithm for emotion recognition, the accuracy of the model is improved. Neviarouskaya et al. [19] proposed a rule-based emotion recognition method using the natural language processing technology, through symbol prompt processing, abbreviation detection conversion, and sentence analysis to perceive the information expressed in the written language emotion and improve the accuracy of the model. Parinaz et al. [20] proposed an attention-based encoder and decoder, which improves the accuracy of the model by extracting potential dependencies between targets. However, these methods ignore the effective use of existing emotional resources and features. Song et al. [21] proposed an attentionbased long short-term memory network text emotion recognition method, which trains important word vectors in the embedded space through joint coding to improve the accuracy of the model. Li et al. [22] proposed a semisupervised machine learning algorithm, which dynamically generated new corpora in different random subspaces to solve the problem of data imbalance and improve the accuracy of the model. Srinivasan and Anita [23] proposed a method of hierarchical training to improve the emotion recognition of text. By extracting an emotional dictionary from an annotated emotional corpus and then hierarchically training the model, the accuracy of the model is improved. However, these methods are prone to overfitting when the data volume is large.
Li et al. [24] proposed a text emotion classification method (emotion-feature-enhanced deep neural network, SDNN) based on the emotion attention mechanism of the deep neural network. e attention mechanism is used to select keyword phrases related to emotion words to improve the efficiency of the model. However, when the amount of data is small, the model does not work well. Liu et al. [25] proposed a method of surviving a large amount of supervised data for short-text emotion analysis (large-scale convolutional neural network, LSCNN). By generating large-scale artificial training data, the model's Pan-Chinese ability is improved. e running speed is slow.
Based on the above analysis, it can be seen that although deep learning-based methods have strong feature learning capabilities and also demonstrate certain advantages in performance, the text representation of such methods is single and ignores the effectiveness of existing emotional resources and features use.

Text Emotion Classification Model
Based on the Convolutional Neural Network. Because the original short text has irregular problems, it leads to inaccurate part-of-speech tagging. erefore, the trained word vectors may also be inaccurately expressed. If directly input to the convolutional neural network, it will cause the model to overfit. is paper uses a dual-mode channel input strategy. e proposed DDCCNN consists of an input layer, a convolutional layer, a pooling layer, and a classifier layer. It introduces extended features for text representation in a weighted form and compares it with text based on word vector features. e representation is integrated into the training process of the model, and at the same time, the dimensionality reduction expression of the features is realized through continuous pooling. e overall framework is shown in Figure 1.
In Figure 1, the DDCCNN structure has four layers, from top to bottom, in order.

Classifier Layer.
In order to get the classified category estimate, we need to use the classification function softmax c to perform normalization operations. e specific process is as follows: where ω i and b i are the parameters and offsets of the corresponding output category i of the fully connected layer and n is the number of categories. Assuming that the input text is X k , its category is y k , and θ is the model parameter, there is p(y k ) � P(y k | X k , θ). A stochastic gradient descent algorithm is used to minimize the negative log-likelihood function, and each training update each parameter in the network through back propagation until the model reaches the fit. en the objective function of network training is where N is the training sample size. Assume that the length of the input sentence D in the network is 7, and the dimension of the word vector and the extended feature vector are both 12. As can be seen from Figure 1, each layer of the network from the bottom up includes trainable parameters (weights). e 2 channels in the convolutional layer contain 3 convolution kernels ω c of size 2 × 12, 3 × 12, and 4 × 12, respectively. ese 3 convolution kernels and the input matrix are, respectively, convolved to obtain 3 feature maps c, the sizes are 6 × 1, 5 × 1, and 4 × 1. e pooling layer is composed of two feature maps of size 6 × 1, which are obtained by the convolutional layer through dynamic k-max pooling operation, and the k values are 3, 2, and 1, respectively. Finally, the output feature maps of the two channels in the pooling layer are spliced to form the final feature vector v, which is then connected to a softmax classifier to output the final category label.

Pooling Layer.
e pooling layer samples by setting a fixed step in the pooling area. Assuming that the height of the pooling area is h and the width is m, the entire feature map is divided into several m × h subareas, and then, the maximum pooling operation is performed on each subarea, and the corresponding feature value after pooling is the output: Finally, the extracted text features are stitched together to form abstract text features, which can be expressed as where suppose the number of convolution kernels in each group is m; c pi,j represents the j th feature obtained by convolution of the convolution kernel size when the convolution kernel height is i, in order to further abstract the features while mining deeper semantics.

Convolutional Layer.
e convolution layer performs a convolution operation on the word vector of the input layer through a convolution kernel and operates on each fixed-size window to generate an abstract feature output. When performing convolution operations on text, a convolution kernel of size h × n is generally selected, where h is the set word vector dimension, and n represents the number of words selected for each convolution operation. In this paper, three sets of convolution kernels with convolution   e convolution operation is expressed as where c i represents the i th eigenvalue obtained after the convolution operation; f(·) represents the activation function ReLU; W 1 and W 2 , respectively, represent the weight parameter matrix of the convolution kernel on the two mode channels, W 1 , W 2 ∈ R hk ; h × k represents the size of the convolution kernel window, each scan of a word sequence area with a height of h and a dimension of k will produce a feature value; L 1,i: i+h represents the word vector matrix from the i th word to the (i + h) th word in the text; L 2,i: i+h represents the word vector matrix from the i th word to the (i + h) th word in the text; and b represents the offset term of the convolutional layer. A convolution operation is performed on the word vector matrix in each window in the short text to obtain a feature map, expressed as where N represents the number of words in short text; h is the length of the convolution window; and c represents the feature map formed by the convolution operation of the word vector matrix represented by the short text.

Input
Layer. e output of the pooling layer will be used as the input of the last fully connected layer, expressed as where c ′ is the vector obtained by pooling; W ′ is the weight parameter matrix of the fully connected layer; b ′ represents the offset term of the fully connected layer; f ′ (·) represents the activation function ReLU; and finally, c ″ converts the straightening to a long vector c.

Model Optimization.
Batch normalization (BN) can improve the training speed of the network to a certain extent [26]. e basic idea is to use each batch of samples to train the network and then normalize the output data of each layer of the network. Suppose the set of input data of a layer of network is x 1 , x 2 , . . . , x k . e number of samples in the batch is k, and the BN technology first normalizes the batch of data: where E[x] represents the sample mean of the batch input; Var[x] represents the sample variance of the batch input; and ε is a numerical constant added to the variance, generally a positive number close to zero is used to ensure the reconstruction transformation response numerical stability. e normalized data conforms to the distribution with a mean of 0 and a variance of 1. Most of them fall in the unsaturated region of the activation function, which prevents the gradient from disappearing and accelerates the model training speed; However, after normalization, the original expression of the upper layer network is inevitably destroyed, so the reconstruction parameters c and β are introduced to transform the batch of normalized data according to the reconstruction function to obtain the final output data y 1 , y 2 , . . . , y k of the layer: Using BN technology to normalize the internal data of the network is equivalent to introducing a BN network layer into the network. In this model, the BN layer is added directly after each convolution operation of the convolution channel. At the same time, in order to ensure the smoothness of the through channel, this operation is not added to the through channel.
Padding controls the dimension of the input and output feature matrix of the convolution layer by padding zeros around the feature matrix. Enhance the feature extraction of edge data, and at the same time, perform dimension control on text data, so that the deep network of the feature extraction part can be trained. Let the input feature matrix, convolution kernel, padding, and step size output feature matrix have the same length on different axes i, c, p, s, and out, respectively. When padding is used, the length relationship is as shown in the following equation (10): Because some data have the characteristics of less a priori information, the dimension is smaller after data preprocessing, when padding is not used, the dimension of the feature extraction part will quickly decline, and the deep network cannot be trained. erefore, the padding technique of p � 1 is used in this model, and the combination of c � 3 and s � 1 convolution kernel can ensure that the dimension of the feature matrix remains unchanged.

Improve Word Vector Training
is section will introduce in detail how to use the partof-speech probability factor λ to improve word vector training and show the improved text matrix expression of different models based on the scene weight factor η [27].

Part-Of-Speech Probability
Factor. Due to the sparseness of the semantic features of short text, it is insensitive to the part-of-speech factors of the text, which affects the subsequent classification effect.
Splice part-of-speech probabilities of words with words to form Word-coefficient part of speech (Word-CPOS). For example, (China, 0.21) and (Ethnic, 0.44), and then convert the original text into a Word-CPOS sequence, which is used as the input of the word vector model. is paper proposes a part-of-speech probability factor to quantify the contribution of words with different parts of speech to the text. In fact, the word parts of speech are divided into nouns, verbs, adjectives, adverbs, and other parts of speech. e assumed value of λ is λ 1 , λ 2 , λ 3 , λ 4 , λ 5 , and the calculation method is in the formula, with num(n), num(v), num(adj), num(adv), and num(other), respectively, to represent the number of nouns, verbs, adjectives, adverbs, and other part-of-speech words; and W represents the number of words in the text after the word segmentation operation.

Word Vector Scene Factor η.
e word vector tool word2vec includes the CBOW model and SkipGram model. Where CBOW is more suitable for small data, and SkipGram performs better for large corpus. e two models have different word-cutting effects, and the income also changes according to different usage scenarios. erefore, this paper constructs and introduces a scene weighting factor η, which is related to the size of the corpus. Its construction method is shown in formula (13): In the formula, η 1 represents the weight of the word vector based on the CBOW training model; η 2 represents the weight of the word vector based on the SkipGram training model; and Z represents the memory size of the corpus size in GB. S � (x 1 , x 2 , . . . , x N ). In the formula, x i represents a word in the text, and the part-of-speech probability is used to obtain the part-of-speech probability Q � (w 1 , w 2 , . . . , w N ) of each word. en stitch it into a Word-CPOS sequence:

Text Matrix A after Introducing λ and η. Suppose a sentence in the text is
SQ � x 1 , w 1 x 2 , w 2 , . . . , x n , w N . (14) Input SQ into the pretrained Word-CPOS model. Each Word-CPOS item will be converted into n-dimensional Word-CPOS vector sq n , and then, this sentence will be converted into the W × n-dimensional matrix. Since there is more than one sentence in the short text, the sentence in the short text needs to be cascaded to obtain the text matrix A. Finally, according to the size of the corpus, choose the scene weighting factor η to get the Word-CPOS input vector.

Semantic Features Based on Word Vectors.
Existing research shows that in the case of supervised learning of large-scale labeled data, using unsupervised learning to initialize the input value of the neural network is an effective way to improve training results and accelerate training convergence. erefore, this article uses the word2vec tool to calculate the word vector of the Weibo text as the initial value of the input of the convolutional neural network. e word2vec is an open source and efficient tool for computing distributed word vectors on Google. is tool takes a corpus as input and calculates a word vector representation. It uses a vocabulary constructed from text data as training data and then learns the high-dimensional vector representation of the phrase, that is, mapping the phrase into a finite-dimensional high-dimensional space. Compared with the traditional one hot encoding representation model, the word vector is a dense vector representation, and it is easier to calculate the distance metric between the vectors, so it is more suitable for natural language processing and machine learning and at the same time for the shortness and arbitrariness of Weibo text. It has better robustness. e word2vec tool contains two models for computing word vectors, namely, the continuous word bag model (CBOW) and the skip word model (SkipGram). e tool is based on the neural network language model, by removing hidden layers and using hierarchical softmax and negative sampling techniques to reduce computational complexity and optimize training results. e word2vec tool is used to train the Chinese corpus after word segmentation, and the vector representation of the specified dimension of each phrase can be calculated. Using the word vector of the phrase can easily calculate the cosine distance of the word vector as a measure of similarity between the phrases, so the word vector represents the deep semantic connection between the phrases in the corpus.

Dynamic k-max Continuous Pooling Strategy.
In order to make up for the lack of information loss caused by the maximum pooling [29] strategy, this paper proposes a dynamic k-max continuous pooling strategy. e basic idea is that during the downsampling of the feature map in the pooling layer, the effect of the height of the sliding window of Mathematical Problems in Engineering the convolution kernel on the size of the generated feature map is appropriately considered. at is, the height of the convolution kernel is used as an important basis for the value of the downsampling number k of the feature map. e higher the height of the convolution kernel, the less the number of downsampling. e lower the height of the convolution kernel, the more downsampling. e calculation formula of k value is as follows: where s represents the sentence length, and h represents the height of the convolution kernel. Intuitively, the value of k is proportional to the length of the sentence and inversely proportional to the height of the convolution kernel. Compared with the maximum pooling strategy, the algorithm in this paper uses dynamic k-max continuous pooling strategy that has obvious advantages. e comparison of the two pooling strategies is shown in Figures 2  and 3.
In Figures 2 and 3, the length of the input sentence is 6, and the height h of the convolution kernel is 2 and 3, respectively. e part with the heavier background color in the feature map represents the most important feature. As can be seen from Figures 2 and 3, when the height of the convolution kernel is 2 and 3, the maximum pooling operation only retains an important feature in each feature map and continuous pooling according to dynamic k-max. e operation retains top 3 and top 2 important features with the largest values, respectively. In summary, the advantages of the dynamic k-max continuous pooling strategy are as follows: extract multiple important semantic combination features and retain the relative order information between the features.

Model Training.
e DDCCNN proposed in this paper can handle texts of different lengths. e matrix of the convolution kernel adopts the feature vectors obtained by two-channel convolution of three convolution kernels of sizes 2 and 3 as the input of the softmax classifier. e final output of the predicted value of the emotion category is defined as follows: In the formula, y (i) represents the predicted value of the i th -sample; and w i and b i represent the weight and offset to be trained, respectively. en the objective function of the model is From equation (17), it can be known that Loss ≥ 0. Suppose that the label of training sample is y � 1, then Loss � −ln(y), then y ≈ 1, and then loss � 0; when the label of the training sample is loss � −ln(1 − y), we can know loss, then y ≈ 0, then loss � 0.

Experimental Results and Analysis
In order to verify the effectiveness of the proposed DDCCNN text emotion analysis method, a full experimental evaluation was carried out on the Weibo text data collection collected by ourselves. is paper compares the experiments based on JBNN proposed in [15], SDNN proposed in [24], and LSCNN and DDCCNN proposed in [25]. e experiment was conducted on the Win10 operating system with 8G memory, Intel Core i5-3220 3.3 GHz, programming language python 2.7, and the deep learning system TensorFlow.

Experimental Dataset.
e dataset used in the experiment includes word2vec training data and the Microblog dataset collected by myself. In this paper, the training of word vectors uses an unspliced corpus, and the training of Word-CPOS vectors uses a corpus that has been stitched with part-of-speech probabilities. is article uses Google's open source tool word2vec to obtain a text word vector representation, which includes SkipGram and CBOW methods. At the same time, two methods are used for word vector training for subsequent comparison experiments. And uniformly use the SkipGram method to train the partof-speech mosaic matrix, and set the weight of the input text representation of the convolutional neural network according to the scene weight factor. Word vector and Word-CPOS vector training parameters are as follows: the text represents the dimension of the vector 100 dimensions; the size of the context window is 10; and the number of vector training iterations is 10.
For the Microblog dataset, no suitable public dataset was found, so about 10000 microblog texts were obtained by selfcollection. Because the data on microblog platform is based on Internet information, ordinary users cannot access the Microblog database. But they provide a common API interface for ordinary users to mine microblog information. In this paper, the web data crawler collection software based on Python language is divided into two parts: crawling microblog module and microblog information storage module. Crawler crawling microblog module through the combination of web technology and regular matching technology to complete the analysis and acquisition of network pages, and microblog information storage module through the crawling data into the required data structure stored in the database. In the experiment, 80% of the text is extracted as the training set, and 20% of the text is used as the test set.
First of all, in the experiment, the original corpus was cleaned, and punctuation marks, English characters, and other special characters were removed to ensure the standardization of the corpus. en, perform word segmentation on the corpus. Finally, the part-of-speech probabilistic annotation is performed on the corpus to construct a Word-CPOS vector. In the experiment, ReLU was used as the activation function, the Adam optimizer method was used as the gradient update rule, the number of filters used the single-factor variable method, the experiment established the optimal parameter as 100, and the convolution window size as 3, 4, and 5. At the same time, in order to avoid the phenomenon of overfitting and improve the generalization ability of the model, the performance of the neural network structure is improved through dropout. By randomly ignoring the neurons in the convolutional layer to average the prediction probability, it can also reduce the interaction between the neurons in the hidden layer and optimize the structure of the model.

Evaluation Index.
In this paper, the evaluation criteria for text emotion classification are mainly measured from the classification accuracy and F1. For a given sample size of N, the actual label of sample x i is y i , the classification label is y, and the formula for calculating accuracy is F1 is the reconciled average value of the precision rate and recall rate. Assuming the precision rate and recall rate, the specific calculation formula is as follows: where TP means the positive example data correctly classified by the classifier; TN means the negative example data correctly classified by the classifier; FP means the negative example data incorrectly marked as positive example data; and FN indicates positive example data that was incorrectly marked as negative example data.

e Effect of the Number of Convolution Layers on the
Results. When using traditional convolutional neural networks, in order to ensure comparability, in addition to the last layer of convolutional layers, other layers also correspondingly add ReLU activation function to perform nonlinear transformation and add the BN layer and padding technology for optimization. e correct rate of different network structures is shown in Table 1: From Table 1, we can see that the existing several convolutional neural networks achieve the best results at 32 layers, with correct rates of 90.75%, 91.32%, and 92.15%, but starting from 40 layers, the existing several convolutional neural networks. e accuracy rate of the network has been declining. is is because as the depth of the convolutional neural network increases, the extracted feature dimensions are large, and the model cannot be learned well. e prediction accuracy of the double-channel convolutional neural network gradually increases with the increase of depth. When the network reaches 56 layers, the prediction accuracy rate has reached 94.16%, and due to batch normalization, the performance of the double-channel convolutional neural network has remained stable.

Comparison with Current Advanced Algorithms.
In order to verify the effectiveness and superiority of the algorithm in this paper and the effect of emotion classification under different models, two sets of comparative experiments were conducted with JBNN, SDNN, and LSCNN. Experiment 1 uses a callback function to select the model with the highest correct rate as the model's correct rate and F1 value. Figure 4 shows the classification results of the experimental dataset under different neural networks. Experiment 2 compared DDCCNN with (Bag of words, BOW) + (Support vector machine, SVM) algorithm and word2vec + SVM algorithm. BOW + SVM means that BOW is used to represent text features, and SVM is used as a classifier. e accuracy rate and F1 value results of different algorithms are shown in Figure 4.
It can be seen from Figure 4    Mathematical Problems in Engineering three methods have achieved relatively low classification results. From the analysis reason, it can be known that the existing JBNN, SDNN, and LSCNN ignore the semantic information of the sentence, and for the large number of features extracted after convolution, the learning ability is poor, resulting in the model's accuracy and F1 value slightly lower. DDCCNN extracts the edge features of the data, expands the coverage of the features by weighting, and merges the word vector features, thereby extracting richer semantic information and making the model more accurate. It can be seen from Figure 5 that the performance of the word2vec + SVM algorithm is higher than BOW + SVM.
is is because the traditional BOW ignores the semantic information of the sentence, so the SVM classification effect is relatively poor. After word2vec training the word vector, the semantic information makes SVM classification performance significantly improved. It can be seen from the experiment that the correct rate and F1 value of the DDCCNN model are significantly better than those using the SVM classifier, which shows that the shallow machine learning algorithm has limited fitting ability in the case of too much data, and the DDCCNN model is effective in emotion analysis. e use of k-max pooling strategy effectively reduces the loss of text information and further improves the text classification performance of the model.
In order to show the model effect of text emotion classification under different iteration times, Figures 6-8 e fluctuation rate of the accuracy rate of the LSCNN model is larger than that of other models. e quality is poor, and the overall semantic information cannot be expressed well. e emotion classification accuracy rate and F1 value of the DDCCNN model have always been higher than other algorithms because the simultaneous use of extended features and dynamic k-max continuous pooling strategy can enhance the ability of the model to obtain highlevel text features while enhancing the emotional meaning of text. In addition, the DDCCNN has a small fluctuation  range, and when the number of iterations is 13, the DDCCNN model achieves the highest accuracy and F1 value. At this time, in order to avoid overfitting the model, the iteration can be stopped.

Conclusions
In view of the sparse features in the text dataset, the existing deep learning methods have insufficient feature extraction capabilities in text emotion classification tasks. A new text emotion analysis method for e-commerce review using deep learning double-channel convolutional neural networks is proposed. In the proposed method, by adding zeros around the feature matrix, controlling the input and output feature matrix dimensions of the convolution layer, and enhancing the feature extraction of edge data, an improved word vector training method is introduced, which effectively improves the model's ability to extract features, and expand the coverage of features by weighting. Experimental results show that the accuracy of the proposed DDCCNN is better than the comparison algorithm.
Text emotion recognition has broad application prospects in the era of artificial intelligence. Although the technology based on a deep learning double-channel convolutional neural network has proposed a new method that is different from traditional text emotion recognition to solve the problem of sparse features in text datasets and has achieved good results. However, the study found that the number of positive texts containing negative words was mistakenly classified as negative texts in the total number of misclassified collections is higher. erefore, in the future text emotion analysis task, we will try to solve the problem of the impact of negative words on forward classified text. Introduce multiple features, such as word order and different word vectors, to further improve the model classification performance.

Data Availability
e data used to support this study are made available from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest to report regarding the study.  Mathematical Problems in Engineering 9