The invention provides an aspect-level
sentiment analysis method and device based on a graph convolutional network and a medium, and the method comprises the steps: inputting a to-be-processed text into a trained aspect-level
sentiment analysis model for analysis, and obtaining a sentiment polarity
classification result corresponding to the to-be-processed text; the aspect-level
sentiment analysis model comprises an input module, an attention module, a graph
convolution module for masking and aggregating features output by a previous level, a self-adaptive weight module for weighting the aggregated features, and an output module; compared with the prior art, the method has the advantages that the graph
convolution module is arranged in the aspect-level sentiment analysis model, and information of context nodes is aggregated after
mask processing is performed on extracted features, so that more attention can be paid to key parts contributing to sentiment analysis; and the adaptive weight module is set, and the output of the graph
convolution module is subjected to attention
weight distribution, so that the network is better endowed with adaptive capability, the output result is optimized, and the sentiment classification accuracy is improved.