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

A Watermarking System Architecture using the Cellular Automata Transform for 2D Vector Map

Technological advancement, paired with the emergence of increasingly open and sophisticated communication systems, has contributed to the growing complexity of copyright protection and ownership identification for digita...

Comparison and Analysis of Different Software Cost Estimation Methods

Software cost estimation is the process of predicting the effort required to develop a software system. The basic input for the software cost estimation is coding size and set of cost drivers, the output is Effort in ter...

The Growing Role of Complex Sensor Systems and Algorithmic Pattern Recognition for Vascular Dementia Onset

Vascular Dementia is often Clinically diagnosed once the effects of the disease are prevalent in a person’s daily living routines. However previous research has shown various behavioral and physiological changes linked t...

Smart Smoking Area based on Fuzzy Decision Tree Algorithm

Cigarette smoke is very dangerous for both active and passive smokers who smoke inside a room because nicotine from cigarette smoke can stick on the wall or in the furniture and produce carcinogenic substances when react...

A Web Service Composition Framework based on Functional Weight to Reach Maximum QoS

The recent trend in the web world is to accomplish almost all the user services in every field through the web portals of the respective organizations. But a specific task with series of actions cannot be completed by a...

Download PDF file
  • EP ID EP596796
  • DOI 10.14569/IJACSA.2019.0100645
  • Views 108
  • 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