Open Access iconOpen Access



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:

Computers, Materials & Continua 2021, 69(1), 51-65.


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.


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.

cc 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.
  • 2077


  • 1423


  • 0


Share Link