That is to say, the sentiment intensity of each word at time-step t should be decided by both the sentiment representation E s and the current decoder state s t .
we define a sentiment intensity prediction function g(E s , s t ) as follows: where W s is a trainable parameter, and sigmoid is used to scale the predicted intensity value to [0, 1].