Emotion Detection in Text using Nested Long Short-Term Memory

Abstract

Humans have the power to feel different types of emotions because human life is filled with many emotions. Human’s emotion can be reflected through reading or writing a text. In recent years, studies on emotion detection through text has been developed. Most of the study is using a machine learning technique. In this paper, we classified 7 emotions such as anger, fear, joy, love, sadness, surprise, and thankfulness using deep learning technique that is Long Short-Term Memory (LSTM) and Nested Long Short-Term Memory (Nested LSTM). We have compared our results with Support Vector Machine (SVM). We have trained each model with 980,549 training data and tested with 144,160 testing data. Our experiments showed that Nested LSTM and LSTM give better performance than SVM to detect emotions in text. Nested LSTM gets the best accuracy of 99.167%, while LSTM gets the best performance in term of average precision at 99.22%, average recall at 98.86%, and f1-score at 99.04%.

Authors and Affiliations

Daniel Haryadi, Gede Putra Kusuma

Keywords

Related Articles

Dynamic Reconfiguration of LPWANs Pervasive System using Multi-agent Approach

The development of the Low Power Wide Area Network (LPWAN) has given new hope for the Internet of Things and M2M networks to become the most prevalent network type in industrial world in the near future. This type of net...

A Web Mining Approach for Personalized E-Learning System

The Web Mining plays a very important role for the E-learning systems. In personalized E-Learning system, user customize the learning environment based on personal choices. In a general search process ,a hyperlink which...

Mobile Technology based Polio-Vaccination System (PVS) – First Step Towards Polio-Free Pakistan

Health information technology revolutionized the world with its great expansion and widespread in the domain of health care system. Most of the developed countries adopted advanced technology in their vaccination systems...

Building Safety Road Maps Based on Difference of Judgment of Road Users by their Smartphone

Recently, there has been a growing demand and interest in developing methods for analyzing smartphone logs to extract traffic safety information. Because the log is high time resolution and closely related to user activi...

Interpolation of Single Beam Echo Sounder Data for 3D Bathymetric Model

Transmitting sound waves into water, and measuring time interval between emission and return of a pulse, single beam echo sounder determines the depth of the sea. To obtain a bathymetric model representing sea-floor cont...

Download PDF file
  • EP ID EP596796
  • DOI 10.14569/IJACSA.2019.0100645
  • Views 99
  • Downloads 0

How To Cite

Daniel Haryadi, Gede Putra Kusuma (2019). Emotion Detection in Text using Nested Long Short-Term Memory. International Journal of Advanced Computer Science & Applications, 10(6), 351-357. https://europub.co.uk/articles/-A-596796