9. A non-transitory computer-readable medium having encoded therein programming code executable by a processor to perform operations comprising: receiving a textual input; generating, by way of Latent Dirichlet Allocation (LDA) topic modeling, topics associated with the textual input and top words associated with each of the topics; determining relationships of the top words with respect to a vocabulary of emotion synonym sets that includes word sets of synonyms that are associated with emotions of a set of emotions; determining emotion weights associated with the textual input that indicate a relationship between the topics and one or more emotions and that are based on the relationships of the top words with respect to the vocabulary of emotion synonym sets; and performing an action in response to the textual input in which the action is determined based on the textual input and the emotion weights, the action including one or more of: a computer-based sentiment analysis of the textual input, text-to-speech generation of the textual input, a machine-translation of the textual input, and search based on the textual input.
11. The computer-readable medium of claim 9 , wherein the LDA topic modeling is performed according to model parameters including a number of topics for the LDA to identify.