Vol.69, No.1, 2021, pp.51-65, doi:10.32604/cmc.2021.016920
Sentiment Analysis of Short Texts Based on Parallel DenseNet
  • Luqi Yan1, Jin Han1,*, Yishi Yue2, Liu Zhang2, Yannan Qian3
1 Nanjing University of Information Science & Technology, Nanjing, 210044, China
2 State Grid Hunan Electric Power Company Limited Research Institute, Changsha, 410007, China
3 Waterford Institute of Technology, Waterford, X91 K0EK, Ireland
* Corresponding Author: Jin Han. Email:
Received 15 January 2021; Accepted 04 March 2021; Issue published 04 June 2021
Text sentiment analysis is a common problem in the field of natural language processing that is often resolved by using convolutional neural networks (CNNs). However, most of these CNN models focus only on learning local features while ignoring global features. In this paper, based on traditional densely connected convolutional networks (DenseNet), a parallel DenseNet is proposed to realize sentiment analysis of short texts. First, this paper proposes two novel feature extraction blocks that are based on DenseNet and a multi-scale convolutional neural network. Second, this paper solves the problem of ignoring global features in traditional CNN models by combining the original features with features extracted by the parallel feature extraction block, and then sending the combined features into the final classifier. Last, a model based on parallel DenseNet that is capable of simultaneously learning both local and global features of short texts and shows better performance on six different databases compared to other basic models is proposed.
Sentiment analysis; short texts; parallel DenseNet
Cite This Article
L. Yan, J. Han, Y. Yue, L. Zhang and Y. Qian, "Sentiment analysis of short texts based on parallel densenet," Computers, Materials & Continua, vol. 69, no.1, pp. 51–65, 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.