Skip to main content

Text Sentiment Analysis Based on Convolutional Neural Network and Bidirectional LSTM Model

  • Conference paper
  • First Online:

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 902))

Abstract

Text sentiment analysis is used to discover the public’s appreciation and preferences for specific events. In order to effectively extract the deep semantic features of sentences and reduce the dependence of long distance information dependency, two models based on convolutional neural network and bidirectional long short-term memory model, CNN-BLSTM and BLSTM-CNN are proposed. Convolutional neural networks can get text features better. Bidirectional long-short time memory model can not only capture long-range information and solve gradient attenuation problem, but also represent future contextual information semantics of word sequence better. These two network architectures are explained in detail in this paper, and performed comparisons against some normal methods, such as methods based emotion lexicon, machine learning methods, LSTM and other neural network models. Experiments show that these two proposed models have achieved better results in text sentiment analysis. The best model CNN-BLSTM is better than the normal neural network models in accuracy.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. CNNIC. http://www.cnnic.net.cn/hlwfzyj. Accessed 31 Jan 2018

  2. Kwak, H., Lee, C., Park, H., et al.: What is Twitter, a social network or news media? In: International Conference on World Wide Web, pp. 591–600 (2010)

    Google Scholar 

  3. Hatzivassiloglou, V., Mckeown, K.R.: Predicting the semantic orientation of adjectives. In: Eighth Conference on European Chapter of the Association for Computational Linguistics, pp. 174–181. Association for Computational Linguistics (1997)

    Google Scholar 

  4. Turney, P.D., Pantel, P., et al.: From frequency to meaning: vector space models of semantics. J. Artif. Intell. Res. 37(1), 141–188 (2010)

    Article  MathSciNet  Google Scholar 

  5. Niu, Y., Pan, M., et al.: Emotion analysis of chinese microblogs using lexicon-based approach. Comput. Sci. 41(9), 253–258, 289 (2014)

    Google Scholar 

  6. Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up? Sentiment classification using machine learning techniques. In: ACL-02 Conference on Empirical Methods in Natural Language Processing, pp. 79–86. Association for Computational Linguistics (2002)

    Google Scholar 

  7. Mullen, T., Collier, N.: Sentiment analysis using support vector machines with diverse information sources. In: Conference on Empirical Methods in Natural Language Processing, EMNLP 2004, A Meeting of SIGDAT, A Special Interest Group of the ACL, Held in Conjunction with ACL 2004, 25–26 July 2004, Barcelona, Spain, pp. 412–418. DBLP (2004)

    Google Scholar 

  8. Wang, S., Manning, C.D.: Baselines and bigrams: simple, good sentiment and topic classification. In: Meeting of the Association for Computational Linguistics: Short Papers, pp. 90–94. Association for Computational Linguistics (2012)

    Google Scholar 

  9. Li, S., Huang, L., Wang, J., et al.: Semi-stacking for semi-supervised sentiment classification. In: Meeting of the Association for Computational Linguistics and the, International Joint Conference on Natural Language Processing, pp. 27–31 (2015)

    Google Scholar 

  10. Sun, J., Xueqiang, L., Zhang, L.: On sentiment analysis of Chinese microblogging based on lexicon and machine learning. Comput. Appl. Softw. 31(7), 177–181 (2014)

    Google Scholar 

  11. Jiang, J., Xia, R.: Microblog sentiment classification via combining rule-based and machine learning methods. In: NLPCC (2016)

    Google Scholar 

  12. Sundermeyer, M., Schlüter, R., Ney, H.: LSTM neural networks for language modeling. In: Interspeech, pp. 601–608 (2012)

    Google Scholar 

  13. Kim, Y.: Convolutional Neural Networks for Sentence Classification. Eprint Arxiv (2014)

    Google Scholar 

  14. Tang, D., Qin, B., Liu, T.: Document modeling with gated recurrent neural network for sentiment classification. In: Conference on Empirical Methods in Natural Language Processing, pp. 1422–1432 (2015)

    Google Scholar 

  15. Hubel, D.H., Wiesel, T.N.: Receptive fields, binocular interaction and functional architecture in the cat’s visual cortex. J. Physiol. 160(1), 106–154 (1962)

    Article  Google Scholar 

  16. Schuster, M., Paliwal, K.K.: Bidirectional recurrent neural networks. IEEE Press (1997)

    Google Scholar 

  17. Ma, X., Hovy, E.: End-to-end sequence labeling via bi-directional lstm-cnns-erf. arXiv preprint arXiv (2016)

    Google Scholar 

  18. Wang, C., Yang, H., Bartz, C., et al.: Image captioning with deep bidirectional LSTMs, pp. 988–997 (2016)

    Google Scholar 

  19. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  20. Jieba. https://github.com/fxsjy/jieba

  21. NLPIR. http://ictclas.nlpir.org

  22. LTP. https://www.ltp-cloud.com

  23. Paccanaro, A., Hinton, G.E.: Learning distributed representations of concepts using linear relational embedding. IEEE Trans. Knowl. Data Eng. 13(2), 232–244 (2002)

    Article  Google Scholar 

  24. Mikolov, T., Corrado, G., Chen, K., et al.: Efficient estimation of word representations in vector space. In: International Conference on Learning Representations, pp. 1–12 (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mengjiao Song .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Song, M., Zhao, X., Liu, Y., Zhao, Z. (2018). Text Sentiment Analysis Based on Convolutional Neural Network and Bidirectional LSTM Model. In: Zhou, Q., Miao, Q., Wang, H., Xie, W., Wang, Y., Lu, Z. (eds) Data Science. ICPCSEE 2018. Communications in Computer and Information Science, vol 902. Springer, Singapore. https://doi.org/10.1007/978-981-13-2206-8_6

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-2206-8_6

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-2205-1

  • Online ISBN: 978-981-13-2206-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics