Emotion Detection in Cross-Lingual Text Based on Bidirectional LSTM

  • Han Ren
  • Jing WanEmail author
  • Yafeng Ren
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 895)


Emotions in cross-lingual text can be expressed in either monolingual or bilingual forms. Current researches have focused on analyzing emotions in monolingual text, whereas such approaches may achieve low performances in the case of identifying emotions in cross-lingual texts, which appear frequently in social media. In this paper, a bidirectional LSTM neural network with emotional knowledge is introduced to detect emotions in cross-lingual texts. This approach also employs the cross-lingual feature and the lexical level feature to analyze texts with multilingual forms and take advantage of emotional knowledge. The evaluation results show that our approach is effective for detecting emotion in cross-lingual texts.


Neural network Bidirectional LSTM Emotional knowledge Emotion detection 



This work is supported by Natural Science Foundation of Hainan (618MS086), Special innovation project of Guangdong Education Department (2017KTSCX064), Natural Science Foundation of China (61702121) and Bidding Project of GDUFS Laboratory of Language Engineering and Computing (LEC2016ZBKT002).


  1. 1.
    Das, D., Bandyopadhyay, S.: Emotion analysis on social media: natural language processing approaches and applications. In: Agarwal, N. et al. (eds.) Online Collective Action: Dynamics of the Crowd in Social Media, Lecture Notes in Social Networks, pp. 19–37. Springer, Vienna (2014)Google Scholar
  2. 2.
    Lee, S., Wang, Z.Q.: Emotion in code-switching texts: corpus construction and analysis. In: Proceeding of SIGHAN-2015, Beijing (2015)Google Scholar
  3. 3.
    Wang, Z.Q., Zhang, Y., Lee, S., Li, S.S., Zhou., G.D.: A bilingual attention network for code-switched emotion prediction. In: Proceeding of COLING-2016, Osaka, Japan (2016)Google Scholar
  4. 4.
    Wang, Z.Q., Lee, S., Li, S.S., Zhou, G.D.: Emotion analysis in code-switching text with joint factor graph model. IEEE/ACM Trans. Audio Speech Lang. Process. 25(3), 469–480 (2017)CrossRefGoogle Scholar
  5. 5.
    Li, S.S., Lee, S., Liu, H.H., Huang, C.-R.: Implicit emotion classification with the context of emotion related event. J. Chin. Inf. Process. 27(6), 90–95 (2013)Google Scholar
  6. 6.
    Rao, Y.H., Quan, X.J., Liu, W.Y., Li, Q., Chen, M.L.: Building word-emotion mapping dictionary for online news. In: Proceeding of the 1st International Workshop on Sentiment Discovery from Affective Data (2012)Google Scholar
  7. 7.
    Liu, H.H., Li, S.S., Zhou, G.D., Huang, C.-R., Li, P.F.: Joint modeling of news reader’s and comment writer’s emotions. In: Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, Sofia, Bulgaria, pp. 511–515 (2013)Google Scholar
  8. 8.
    Wen, S.Y., Wan, X.J.: Emotion Classification in microblog texts using class sequential rules. In: Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence, Québec, Canada, pp. 187–193 (2014)Google Scholar
  9. 9.
    Ren, H., Ren, Y.F., Li, X., Feng, W.H., Liu, M.F.: Natural logic inference for emotion detection. In: Proceedings of the 16th China National Conference and the 5th International Symposium on Natural Language Processing Based on Naturally Annotated Big Data, Nanjing, China, pp. 424–436 (2016)Google Scholar
  10. 10.
    Ren, Y.F., Wang, R.M., Ji, D.H.: A topic-enhanced word embedding for twitter sentiment classification. Inf. Sci. 369, 188–198 (2016)CrossRefGoogle Scholar
  11. 11.
    Ren, Y.F., Ji, D.H., Ren, H.: Context-augmented convolutional neural networks for twitter sarcasm detection. Neurocomputing 308, 1–7 (2018)CrossRefGoogle Scholar
  12. 12.
    Vo, D.-T., Zhang, Y.: Target-dependent twitter sentiment classification with rich automatic features. In: Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, Buenos Aires, Argentina, pp. 1347–1353 (2015)Google Scholar
  13. 13.
    Tang, D.Y., Qin, B., Liu, T.: Document Modeling with gated recurrent neural network for sentiment classification. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal, pp. 1422–1432 (2015)Google Scholar
  14. 14.
    Zhang, M.S., Zhang, Y., Vo, D.-T.: Neural networks for open domain targeted sentiment. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal, pp. 612–621 (2015)Google Scholar
  15. 15.
    Cheng, H.-T., Koc, L., Harmsen, J., Shaked, T., Chandra, T., Aradhye, H., Anderson, G., Corrado, G., Chai, W., Ispir, M., Anil, R., Haque, Z., Hong, L.C., Jain, V., Liu, X.B., Shah, H.: Wide & deep learning for recommender systems. In: Proceedings of the 1st Workshop on Deep Learning for Recommender Systems, Boston, USA (2016)Google Scholar
  16. 16.
    Zeng, D.J., Liu, K., Lai, S.W., Zhou, G.Y., Zhao, J.: Relation classification via convolutional deep neural network. In: Proceedings of the 25th International Conference on Computational Linguistics: Technical Papers, Dublin, Ireland, pp. 2335–2344 (2014)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Laboratory of Language Engineering and ComputingGuangdong University of Foreign StudiesGuangzhouChina
  2. 2.Center for Lexicographical StudiesGuangdong University of Foreign StudiesGuangzhouChina
  3. 3.Collaborative Innovation Center for Language Research and ServicesGuangdong University of Foreign StudiesGuangzhouChina

Personalised recommendations