Skip to main content
Log in

A new method of emotional analysis based on CNN–BiLSTM hybrid neural network

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

The hybrid neural network model proposed in this paper consists of two main parts: extracting local features of text vectors by convolutional neural network, extracting global features related to text context by BiLSTM, and fusing the features extracted by the two complementary models. In this paper, the pre-processed sentences are put into the hybrid neural network for training. The trained hybrid neural network can automatically classify the sentences. When testing the algorithm proposed in this paper, the training corpus is Word2vec. The test results show that the accuracy rate of text categorization reaches 94.2%, and the number of iterations is 10. The results show that the proposed algorithm has high accuracy and good robustness when the sample size is seriously unbalanced.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Tang, D., Qin, B., Liu, T.: Deep learning for sentiment analysis: successful approaches and future challenges. Wiley Interdiscip Rev 5(6), 292–303 (2015)

    Google Scholar 

  2. Lan, W.F., Xu, W., Wang, T.: Text classification of Chinese news based on convolutional neural network. J. South-Central Univ. Natl. (Nat Sci Edition) 1, 138–143 (2018)

    Google Scholar 

  3. Gong, Q.J.: A text classification based on the Recurrent Neural Networks. Huazhong University, Wuhan (2016)

    Google Scholar 

  4. Cui, J.M., Liu, J., Liao, Z.Y.: Research of text categorization based on support vector mechine. Comput. Simul. 30(2), 299–302 (2018)

    Google Scholar 

  5. Wu, Y.L., Zhao, S.L., Li, C.J.: Text classification method based on TF-IDF and cosine similarity. J. Chin. Inform. Process. 31(5), 138–145 (2017)

    Google Scholar 

  6. Yao, Q.Z., Song, Z.L., Peng, C.: Research on text categorization based on LDA. Comput. Eng. Appl. 47(13), 150–153 (2011)

    Google Scholar 

  7. Xia, C.L., Qian, T., Ji, D.H.: Event convolutional feature based news documents classification. Appl. Res. Comput. 4, 991–994 (2017)

    Google Scholar 

  8. Zhang, T.: A kind of effective data aggregating method based on compressive sensing for wireless sensor network. EURASIP J. Wirel. Commun. Netw. 2018(159), 1–15 (2018). https://doi.org/10.1186/s13638-018-1176-4

    Article  Google Scholar 

  9. Zhang, D.G., Zhang, T.: Novel optimized link state routing protocol based on quantum genetic strategy for mobile learning. J. Netw. Comput. Appl. 122, 37–49 (2018). https://doi.org/10.1016/j.jnca.2018.07.018

    Article  Google Scholar 

  10. Zhou, F.Y., Jin, L.P., Dong, J.: Review of convolutional neural network. Chin. J. Comput. 1, 35–38 (2017)

    MathSciNet  Google Scholar 

  11. Li, Y., Dong, H.B.: Text emotion analysis based on CNN and BiLSTM network feature fusion. Comput. Appl. 38(11), 29–34 (2018)

    Google Scholar 

  12. Kalchbrenner, N., Blunsom, P.: Recurrent convolutional neural networks for discourse compositionality. Comput. Sci. 10, 1–2 (2013)

    Google Scholar 

  13. Kim, K., Chung, B.S., Choi, Y.R.: Language independent semantic kernels for short-text classification. Expert Syst. Appl. Int. J. 41(2), 735–743 (2014)

    Article  Google Scholar 

  14. Liu, S.: Novel unequal clustering routing protocol considering based on network partition & distance for mobile education. J. Netw. Comput. Appl. 88(15), 1–9 (2017). https://doi.org/10.1016/j.jnca.2017.03.025

    Article  Google Scholar 

  15. Zhou, S.: A low duty cycle efficient MAC protocol based on self-adaption and predictive strategy. Mob. Netw. Appl. 23(4), 828–839 (2018)

    Article  Google Scholar 

  16. Jin, C., Li, W., et al.: Chinese word segmentation based on bidirectional LSTM neural network model. Chin. J. Inform. 32(2), 29–37 (2018)

    Google Scholar 

  17. Chen, J., Li, H.F., Ma, L., et al.: Dimensional speech emotion recognition method based on multi-granularity feature fusion. Signal Process. 33(3), 374–382 (2017)

    Google Scholar 

  18. Zhang, D.G., Niu, H.L., Liu, S.: Novel PEECR-based clustering routing approach. Soft. Comput. 21(24), 7313–7323 (2017)

    Article  Google Scholar 

  19. Tang, Y.M.: Novel reliable routing method for engineering of internet of vehicles based on graph theory. Eng. Comput. 36(1), 226–247 (2019)

    Google Scholar 

  20. Fan, Y.X., Guo, J.F., Lan, Y.Y., et al.: Context-based deep semantic sentence retrieval model. Chin. J. Inform. Sci. 31(5), 161–167 (2017)

    Google Scholar 

  21. Hatzivassiloglou, V., Mc Keown, K.R.: Predicting the semantic orientation of adjectives In: Proceedings of the eighth conference on European chapter of the Association for Computational Linguistics. Association for Computational Linguistics, pp. 174–181 (1997)

  22. 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. Association for Computational Linguistics, pp. 79–86 (2002)

  23. Turney, P.D.: Thumbs up or thumbs down?: semantic orientation applied to unsupervised classification of reviews. In: Proceedings of Annual Meeting of the Association for Computational Linguistics, pp. 417–424 (2002)

  24. Lin, C., He, Y., Everson, R.: A comparative study of Bayesian models for unsupervised sentiment detection. GRB Coord. Netw. 12255, 144–152 (2010)

    Google Scholar 

  25. Zhang, D.G., Chen, C., Yu, Y.C., et al.: New method of energy efficient subcarrier allocation based on evolutionary game theory. Mob. Netw. Appl. 9, 1–15 (2018). https://doi.org/10.1007/s11036-018-1123-y

    Article  Google Scholar 

  26. Liu, S.: Novel dynamic source routing protocol (DSR) based on genetic algorithm-bacterial foraging optimization (GA-BFO). Int. J. Commun Syst. 31(18), 1–20 (2018). https://doi.org/10.1002/dac.3824

    Article  Google Scholar 

  27. Simonyan, K., Zisserman, A.: Two-Stream Convolutional Networks for Action Recognition in Videos. University of Oxford, Oxford (2014)

    Google Scholar 

  28. Zhang, T.: Novel self-adaptive routing service algorithm for application of VANET. Appl. Intell. 49(5), 1866–1879 (2019). https://doi.org/10.1007/s10489-018-1368-y

    Article  Google Scholar 

  29. Zhang, D.G., Hui, G.: New multi-hop clustering algorithm for vehicular ad hoc networks. IEEE Trans. Intell. Transp. Syst. 20(4), 1517–1530 (2019)

    Article  Google Scholar 

  30. Liu, S.: Dynamic analysis for the average shortest path length of mobile ad hoc networks under random failure scenarios. IEEE Access. 7, 21343–21358 (2019). https://doi.org/10.1109/ACCESS.2019.2896699

    Article  Google Scholar 

  31. Gao, J.X.: Novel approach of distributed & adaptive trust metrics for MANET. Wirel. Netw. 25(6), 3587–3603 (2019)

    Article  Google Scholar 

  32. Zhang, T.: A kind of novel method of power allocation with limited cross-tier interference for CRN. IEEE Access. 7(1), 82571–82583 (2019). https://doi.org/10.1109/ACCESS.2019.2921310

    Article  Google Scholar 

  33. Hermans, M., Burm, M., Dambre, J.: Trainable and dynamic computing: error backpropagation through physical media. Arxiv 1, 34–39 (2014)

    Google Scholar 

  34. Otte, S., Krechel, D., Liwicki, M. et al.: Local Feature Based Online Mode Detection with Recurrent Neural Networks In: International Conference on Frontiers in Handwriting Recognition. IEEE Computer Society, pp. 55–60 (2012)

  35. Pérez, Z., Cardona-Escobar, A.F.: Deep Convolutional Neural Networks and Power Spectral Density Features for Motor Imagery Classification of EEG Signals In: International Conference on Augmented Cognition. Springer, Cham, pp. 99–106 (2018)

  36. Zeng, Y., Ferdous, Z.I., Zhang, W., et al.: Inference with hybrid bio-hardware neural networks. 2019(5), pp. 57–61

  37. Wang, Y., Zhang, B., Xue, B.: Research on Chinese text classification method based on FOA-SVM. J. Sichuan Univ. (Nat. Sci. Ed.) 53(4), 101–104 (2016)

    Google Scholar 

  38. Gao, J.P., Zhang, H., Zhao, X.J., et al.: Research on WEB domain knowledge classification based on feature words. Softw. Guide 15(2), 9–11 (2016)

    Google Scholar 

Download references

Funding

This research work is supported by Intelligent Psychological Consultation System Based on NLP and User Portraits (201910060022), College Students’ Innovative Entrepreneurial Training Plan Program (National Program, 2019.6-2020.6), National Natural Science Foundation of China (Grant No. 61571328), Tianjin Key Natural Science Foundation (No. 13JCZDJC34600), CSC Foundation (No. 201308120010), Major projects of science and technology in Tianjin (No. 15ZXDSGX 00050), Training plan of Tianjin University Innovation Team (No. TD12-5016, No.TD13- 5025), Major projects of science and technology for their services in Tianjin (Nos. 16ZXFWGX00010, 17YFZC GX00360), the Key Subject Foundation of Tianjin (15JCYB JC46500), Training plan of Tianjin 131 Innovation Talent Team (No. TD2015-23).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zi-xian Liu.

Ethics declarations

Conflict of interest

Author Liu Zi-xian, Zhang De-gan, Luo Gu-zhao, Lian Ming and Liu Bing declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Informed consent

Informed consent was obtained from all individual participants included in the study.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

De-gan Zhang, Gu-zhao Luo and Ming Lian are co-first author.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, Zx., Zhang, Dg., Luo, Gz. et al. A new method of emotional analysis based on CNN–BiLSTM hybrid neural network. Cluster Comput 23, 2901–2913 (2020). https://doi.org/10.1007/s10586-020-03055-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-020-03055-9

Keywords

Navigation