Emotion classifier construction method and device based on unbalanced text set, equipment and medium

The invention discloses a sentiment classifier construction method based on an unbalanced text set, and the method comprises the steps: obtaining a first unbalanced sample set which comprises a plurality of first samples and a sentiment probability sample value of each first sample; determining sent...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: FENG DOUDOU
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 discloses a sentiment classifier construction method based on an unbalanced text set, and the method comprises the steps: obtaining a first unbalanced sample set which comprises a plurality of first samples and a sentiment probability sample value of each first sample; determining sentiment words in the first sample and scores of the sentiment words from a preset sentiment dictionary; determining a score of a degree adverb for modifying the sentiment word in the first sample; calculating an emotion score of the first sample according to the score of the emotion word in the firstsample and the score of the degree adverb; determining an emotion probability value of the first sample according to a preset emotion classifier; and training a first machine learning algorithm according to the emotion score of the first sample, the emotion probability value of the first sample determined by a preset emotion classifier and the emotion probability sample value of the first sample to obtain a target emotion