CPC G06F 40/35 (2020.01) [G06F 40/117 (2020.01); G06F 40/284 (2020.01)] | 17 Claims |
1. A method for sentiment analysis for multi-turn conversations, the method comprising:
obtaining an input dialogue, wherein the input dialogue has more than one sentence;
extracting at least one sentiment expression based on sentence embeddings corresponding to the input dialogue;
generating polarity values corresponding to the at least one sentiment expression based on the sentence embeddings corresponding to the input dialogue; and
subsequent to determining the polarity values, determining a target mention associated with the input dialogue based on the at least one sentiment expression and the sentence embeddings,
wherein the determining of the target mention comprises:
generating rich contextual representations based on a concatenation of turn-wise distances on the sentence embeddings, speaker information on the sentence embeddings, and the at least one sentiment expression, wherein the speaker information indicates whether the input dialogue are from a same speaker; and
determining the target mention based on calculated boundaries, wherein the calculated boundaries are generated using the rich contextual representations.
|