Journal of Advancements in Robotics

Hybrid approach for emotion detection in text using spatial-temporal features

  1. Nida Hakak ✉
  2. Mahira Kirmani

Abstract

In recent years, the incredible exploratory growth of online data in social media mainly Twitter has to lead to growing attention of researchers towards Affective analysis of social media streams. Around 500 million tweets are generated per day all around the globe. Classification of these tweets into different affective classes is an arduous task. We propose a novel approach of classifying a tweet into Ekman’s six basic emotion classes using neural network architectures (convolutional and recurrent neural networks).  We collected data for specific events from Twitter and evaluated our classifier. Results obtained lead us to the conclusion that neural network architectures outperform the supervised learning classifiers. We achieved 80% accuracy for our proposed classifier which is higher than the baseline classifiers.Keywords: Artificial intelligence, emotion analysis, neural networks, emotion corpora, sentiment analysisCite this ArticleNida Hakak, Mahira Kirmani. Hybrid Approach for Emotion Detection in Text using Spatial-Temporal Features. Journal of Advancements in Robotics. 2018; 5(1): 34–44p.

References (25)

  1. Fan We iguo, Gordon Michael D. The Power of Social Media Anal ytics. Commun ACM. 2014; 57(6): 74–81p.
  2. Turney Peter D. Thumbs Up or Thumbs Down?: Semantic Orientation App lied to Unsupervised Cla ssification of Reviews. Proceedings of the 40th Annual Meet ing on Association for Computational Linguistics, Association for Computational Linguistics; 2002. Happy Sad Disgust Joy Fear Surprise neutral Macro- average Precision 66.23 64.53 67.27 96.77 64.32 64.04 83.08 72.32 Recall 75.52 75.56 76.63 58.7 67.9 66.27 0 67.72 F1-score 70.57 69.41 71.64 73.13 66.06 65.13 65.09 68.71 0 20 40 60 80 100 120 percentage Classifier accuracy Emotion Detection in Text Hakak and Kirmaini JoARB (2018) 34-44 © STM Journals 2018. All Rights Reserved Page 43
  3. Turney Peter D, Littman Michael L. Measuring Praise and Criticism: Inference of Semantic Orientation from Association. ACM Trans Inform Syst (TOIS ). 2003; 21(4): 315–346p.
  4. Dave Kushal, Steve Lawrence, Pennock David M. Mining the Peanut Gallery: Opinion Extraction and Semantic Classification of Product Review s. Proceedings of the 12th International Conference on World Wide Web , ACM. 2003.
  5. Das Sanjiv, Mike Chen. Yahoo! for Amazon: Extracting Market Sentiment from Stock Message Boards. Proceedings of the Asia Pacific Finance Association Annual Conference (APFA). 2001;
  6. Pang Bo, Lillian Lee, Shivakumar Vaithyanathan. Thumbs up? Sentiment Classification Using Machine Learning Techniques. Proceedings of the ACL -02 Conference on Empirical Methods in Natural Language Processing, Volume 10. Association for Computational Linguistics; 2002.
  7. Pang Bo, Lillian Lee. A Sentimental Education: Sentiment Analysis Using Subjectivity Summarizat ion Based on Minimum Cuts. Proceedings of the 42nd Annual Meeting on Association for Computational Linguistics . Association for Computational Linguistics; 2004.
  8. Zhuang Li, Feng Jing, Xiao -Yan Zhu. Movie Review Mining and Summarization. Proceedings of the 1 5th ACM International Conference on Information and Knowledge Management ACM. 2006.
  9. Popescu Ana -Maria, Bao Nguyen, Oren Etzioni. OPINE: Extracting Product Features and Opinions from Reviews. Proceedings of HLT/EMNLP on Interactive Demonstrations . Association for Computational Linguistics; 2005.
  10. Kouloumpis Efthymios, Theresa Wilson, Moore Johanna D. Twitter Sentiment Analysis: The Good the Bad and the OMG! ICWSM. 2011; 11(538–541): 164p.
  11. Saif Hassan, Yulan He, Harith Alani. Semantic Sentiment Analysis of Twitter. International Semantic Web Conference , Springer, Berlin, Heidelberg. 2012.
  12. Sarlan Aliza, Chayanit Nadam, Shuib Basri. Twitter Sentiment Analysis. Information Technology and Multimedia (ICIMU), 2014 International Conference on. IEEE, 2014.
  13. Balabantaray Rakesh C, Mudasir Mohammad, Nibha Sharma. Multi -Class Twitter Emotion Classification: A New Approach. International Journal of Applied Information Systems (IJAIS). 2012; 4(1): 48–53p.
  14. Canales Lea, et al. Exploiting a Bootstrapping Approach for Automatic Annotation of Emotions in Texts. Data Science and Advanced Analytics (DSAA), 2016 IEEE International Conference on . IEEE, 2016.
  15. Mikolov Tomas, et al . Efficient Estimation of Word Representations in Vector Space. arXiv preprint arXiv:1301.3781. 2013.
  16. Manning Christopher, et al. The Stanford Core NLP Natural Language Processing Toolkit. Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations. 2014.
  17. Miller George A. WordNet: A Lexical Database for English. Commun ACM . 1995; 38(11): 39–41p.
  18. Van Rijsbergen, Cornelis J, Stephen Edward Robertson, et al. New Models in Probabilistic Information Retrieval . London: British Library Research and Development Department; 1980.
  19. Mohammad Saif M, Turney Peter D. Crowdsourcing a Word –Emotion Association Lexicon. Comput Intell. 2013; 29(3): 436–465p.
  20. Farooq U, Mansoor H, Nongaillard A, et al. Negation Handling in Sentiment Analysis at Sentence Level. JCP. 2017; 12(5): 470–478p.
  21. Crammer K, Singer Y. On the Algorithmic Implementation of Multi -class SVMs . JMLR. 2001; 2: 265–292p.
  22. Abadi M, Agarwal A, Barham P, et al. Tensorflow: Large -Scale Machine Learning on Heterogeneous Distributed Systems. arXiv preprint arXiv:1603.04467. 2016.
  23. Pennington J, Socher R, Manning C. Glove: Global Ve ctors for Word Journal of Advancements in Robotics Volume 5, Issue 1 ISSN: 2455-1872 (Online) JoARB (2018) 34-44 © STM Journals 2018. All Rights Reserved Page 44 Representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) . 2014; 1532–1543p.
  24. Hochreiter S, Schmidhuber J. Long Short - Term Memory. Neural Comput . 1997; 9(8): 1735–1780p.
  25. Graves Alex. Gen erating Sequences with Recurrent Neural Networks. arXiv preprint arXiv: 1308.0850. 2013. Cite this Article Nida Hakak, Mahira Kirmani. Hybrid Approach for Emotion Detection in Text using Spatial -Temporal Fea tures. Journal of Advancements in Robotics . 201 8; 5(1): 34–44p.

Read more of it

Subscribe to one journal or build your own list of several. One invoice, one payment, access for a full year.

Subscribe to journals →

Publish your article

Peer-reviewed journals across every subject, with open access options. Send your manuscript to the right editor today.

Publish with us → Calculate your APC
Support