Aspect-level sentiment analysis method and system based on domain knowledge graph

The invention provides an aspect-level sentiment analysis method and system based on a domain knowledge graph, and the method comprises the steps: obtaining a target text, and analyzing and extracting a target aspect word; constructing a mask language template based on prompt learning; constructing...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIONG XI, WANG JIANGHE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides an aspect-level sentiment analysis method and system based on a domain knowledge graph, and the method comprises the steps: obtaining a target text, and analyzing and extracting a target aspect word; constructing a mask language template based on prompt learning; constructing a domain knowledge graph of a domain related to the target text; splicing the target text and the mask language template, inputting the spliced target text and mask language template into a pre-trained language model for mask language modeling, querying a target aspect category in a domain knowledge graph according to the target aspect word, and extracting all descriptors associated with the target aspect category as target aspect descriptors to fill in a mask; and respectively predicting the aspect-level sentiment polarity of the target aspect descriptor to obtain the aspect-level sentiment polarity of the target text. Under the condition of zero samples or few samples, high prediction accuracy can be kept for ATS