Emotion analysis method and device fused with emotion dictionary
The invention provides a sentiment analysis method and device fused with a sentiment dictionary, which can be applied to the field of artificial intelligence. The method comprises the following steps: inputting an obtained sentence in a source field and an obtained sentence in a target field into a...
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 provides a sentiment analysis method and device fused with a sentiment dictionary, which can be applied to the field of artificial intelligence. The method comprises the following steps: inputting an obtained sentence in a source field and an obtained sentence in a target field into a pre-generated encoder to obtain a source field sentence word vector and a target field sentence word vector; inputting the source field word vector and the target field sentence word vector into a sentence vector encoder to respectively obtain source field sentence representation and target field sentence representation; and obtaining a sentiment classification result of the target domain by using the source domain sentence representation and the target domain sentence representation. According to the method, sentiment words are taken as prediction targets, corpora of a source domain and a target domain are jointly trained through a language model, an encoder capable of extracting sentiment analysis related feature |
---|