Empirically, a sentence tends to achieve a higher sentiment degree if it contains a higher proportion of sentiment words.
a it is computed as follows: The learned attention vector a i contains different weights for the corresponding words in sentence S i .