Advertisement

Deep Learning Based Sentiment Analysis Using Convolution Neural Network

  • Sujata Rani
  • Parteek Kumar
Research Article - Computer Engineering and Computer Science
  • 53 Downloads

Abstract

Sentiment analysis (SA) of natural language text is an important and challenging task for many applications of Natural Language Processing. Till now, researchers have used different types of SA techniques such as lexicon based and machine learning to perform SA for different languages such as English, Chinese. Inspired by the gain in popularity of deep learning models, we conducted experiments using different configuration settings of convolutional neural network (CNN) and performed SA of Hindi movie reviews collected from online newspapers and Web sites. The dataset has been manually annotated by three native speakers of Hindi to prepare it for training of the model. The experiments are conducted using different numbers of convolution layers with varying number and size of filters. The CNN models are trained on 50% of the dataset and tested on remaining 50% of the dataset. For the movie reviews dataset, the results given by our CNN model are compared with traditional ML algorithms and state-of-the-art results. It has been observed that our model is able to achieve better performance than traditional ML approaches and it has achieved an accuracy of 95%.

Keywords

Deep learning Sentiment analysis Movie reviews CNN 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Notes

Acknowledgements

This Publication is an outcome of the R&D work undertaken in the project under the Visvesvaraya PhD Scheme of Ministry of Electronics & Information Technology, Government of India, being implemented by Digital India Corporation (formerly Media Lab Asia).

References

  1. 1.
    Almatrafi, O.; Parack, S.; Chavan, B.: Application of location-based sentiment analysis using Twitter for identifying trends towards Indian general elections 2014. In: Proceedings of the 9th International Conference on Ubiquitous Information Management and Communication. ACM, Bali, Indonesia, pp. 1–5 (2015)Google Scholar
  2. 2.
    Rani, S.; Kumar, P.: A sentiment analysis system to improve teaching and learning. Computer 50(5), 36–43 (2017)CrossRefGoogle Scholar
  3. 3.
    List of languages by number of native speakers in India [Online]. https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers_in_India. Accessed 4 June 2017
  4. 4.
    Joshi, A.; Balamurali, A.R.; Bhattacharyya, P.: A fall-back strategy for sentiment analysis in Hindi: a case study. In: Proceedings of the 8th International Conference on Natural Language Processing, pp. 1–6 (2010)Google Scholar
  5. 5.
    Mittal, N.; Agarwal, B.; Chouhan, G.; Bania, N.; Pareek, P.: Sentiment analysis of Hindi review based on negation and discourse relation. In: proceedings of International Joint Conference on Natural Language Processing, pp. 45–50 (2013)Google Scholar
  6. 6.
    Arora, P.: Sentiment Analysis for Hindi Language. MS Thesis. International Institute of Information Technology, Hyderabad, India (2013)Google Scholar
  7. 7.
    Sharma, R.; Nigam, S.; Jain, R.: Polarity detection movie reviews in Hindi language. arXiv preprint arXiv:1409.3942 (2014)
  8. 8.
    Sharma, R.; Bhattacharyya, P.: A sentiment analyzer for Hindi Using Hindi Senti Lexicon. In: \(11{{\rm th}}\) International Conference on Natural Language Processing, pp. 1–6 (2014)Google Scholar
  9. 9.
    Pandey, P.; Govilkar, S.: A framework for sentiment analysis in Hindi using HSWN. Int. J. Comput. Appl. 119(19), 23–26 (2015)Google Scholar
  10. 10.
    Sharma, Y.; Mangat, V.; Kaur, M.: A practical approach to sentiment analysis of Hindi tweets. In: Proceedings of 1st International Conference on Next Generation Computing Technologies, pp. 677–680 (2015)Google Scholar
  11. 11.
    Akhtar, M.S.; Ekbal, A.; Bhattacharyya, P.: Aspect based sentiment analysis in Hindi: resource creation and evaluation. In: International Conference on Language Resources and Evaluation, pp. 1–7 (2016)Google Scholar
  12. 12.
    Shirani-Mehr, H.: Applications of deep learning to sentiment analysis of movie reviews. Technical report, Stanford University (2014)Google Scholar
  13. 13.
    Dos Santos, C.N.; Gatti, M.: Deep Convolutional Neural Networks for sentiment analysis of short texts. In: Proceedings of 25th International Conference on Computational Linguistics, pp. 69–78 (2014)Google Scholar
  14. 14.
    Stojanovski, D.; Strezoski, G.; Madjarov, G.; Dimitrovski, I.: Twitter sentiment analysis using Deep Convolutional Neural Network. In: International Conference on Hybrid Artificial Intelligence Systems, pp. 726–737 (2015)Google Scholar
  15. 15.
    Ouyang, X.; Zhou, P.; Li, C.H.; Liu, L.: Sentiment analysis using Convolutional Neural Network. In: International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing (CIT/IUCC/DASC/PICOM), pp. 2359–2364 (2015)Google Scholar
  16. 16.
    Singhal, P.; Bhattacharyya, P.: Sentiment Analysis and Deep Learning: A Survey [Online]. http://www.cfilt.iitb.ac.in/resources/surveys/sentiment-deeplearning-2016-prerna.pdf (2016)
  17. 17.
    Zhang, L.; Chen, C.: Sentiment classification with Convolutional Neural Networks: an experimental study on a large-scale Chinese conversation corpus. In: Proceedings of 12th International Conference on Computational Intelligence and Security (CIS), pp. 165–169 (2016)Google Scholar
  18. 18.
    Hassan, A.; Mahmood, A.: Deep learning approach for sentiment analysis of short texts. In: \(3{{\rm rd}}\) International Conference on Control, Automation and Robotics (ICCAR), pp. 705–710 (2017)Google Scholar
  19. 19.
    Zhang, Y.; Chen, M.; Liu, L.; Wang, Y.: An effective Convolutional Neural Network model for Chinese sentiment analysis. In: AIP Conference Proceedings, vol. 1836, number 1, pp. 1–6 (2017)Google Scholar
  20. 20.
    Jupyter [Online]. http://jupyter.org/. Accessed 2 June 2017
  21. 21.
    TFLearn: Deep learning library featuring a higher-level API for TensorFlow [Online]. http://tflearn.org/. Accessed 5 June 2017
  22. 22.
    Tensorflow [Online]. https://www.tensorflow.org/. Accessed 3 June 2017
  23. 23.
    Svensson, K.: Sentiment analysis with convolutional neural networks: classifying sentiment in Swedish reviews. Bachelor Dissertation, Linnaeus University, Sweden (2017)Google Scholar

Copyright information

© King Fahd University of Petroleum & Minerals 2018

Authors and Affiliations

  1. 1.CSEDThapar UniversityPatialaIndia

Personalised recommendations