摘要
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 multiscale 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.
基金
This work was supported by the National Key R&D Program of China under Grant Number 2018YFB1003205
by the National Natural Science Foundation of China under Grant Numbers U1836208,U1536206,U1836110,61602253,and 61672294
by the Startup Foundation for Introducing Talent of NUIST(1441102001002)
by the Jiangsu Basic Research Programs-Natural Science Foundation under Grant Number BK20181407
by the Priority Academic Program Development of Jiangsu Higher Education Institutions(PAPD)fund
by the Collaborative Innovation Center of Atmospheric Environment and Equipment Technology(CICAEET)fund,China.