Text sentiment analysis method and system based on graph convolution network and electronic device
The invention relates to a text sentiment analysis method and system based on a graph convolution network and an electronic device. The method comprises the steps: word segmentation being conducted onan input text sequence; converting each segmented word into a corresponding word embedding according...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a text sentiment analysis method and system based on a graph convolution network and an electronic device. The method comprises the steps: word segmentation being conducted onan input text sequence; converting each segmented word into a corresponding word embedding according to the sequence of the text sequence; extracting a forward semantic feature and a reverse semanticfeature of each word embedding, and combining the forward semantic features and the reverse semantic features at the same positions to obtain a context semantic feature of each word embedding; according to the context semantic feature of each word embedding, calculating a semantic relationship value between any two word embedding to obtain a connection matrix; analyzing a dependency syntax tree of the text sequence according to the connection matrix; performing graph convolution operation by taking the dependency syntax tree as a graph to obtain dependency vectors of ROOT nodes of the dependency syntax tree; and perfo |
---|