-
公开(公告)号:US20210200949A1
公开(公告)日:2021-07-01
申请号:US16935040
申请日:2020-07-21
Inventor: Can GAO , Hao LIU , Bolei HE , Xinyan XIAO , Hao TIAN
IPC: G06F40/242 , G06F40/279
Abstract: The present disclosure provides a pre-training method for a sentiment analysis model and an electronic device, which relates to a field of artificial intelligence technologies. The method includes: based on a given seed sentiment dictionary, performing sentimental knowledge detection on a training corpus in a training corpus set, and determining a detection sentiment word and a detection word pair of the training corpus; according to preset mask processing rules, performing mask process on the training corpus to generate a masked corpus; performing encoding and decoding on the masked corpus by using a preset encoder and decoder to determine the detection sentiment word and the detection word pair of the training corpus; and updating the preset encoder and decoder according to a difference between prediction sentiment word and the detection sentiment word, and a difference between prediction word pair and the detection word pair.