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

Dimensions of Open Government Data Web Portals: A Case of Asian Countries

Citizen Factors of the open government data are being explored in this study in the selected Asian countries. As per the open data availability countries have been selected on global open data index and well-structured o...

Development of Interactive Ophthalmology Hologram

Ophthalmology is one of the medical branches that deal with the eye. This field is associated with the anatomy, physiology and diseases of the eye. The main objective of this paper is to develop a novel interactive simul...

Method for Texture Mapping of In-Vehicle Camera Image in 3D Map Creation

Method for texture mapping of in-vehicle camera image in 3D map creation is proposed. Top view of ground cover targets can be mapped easily. For instance, aerial photos, high spatial resolution of satellite imagery data...

Impact of Thyristor Controlled Series Capacitor on Voltage Profile of Transmission Lines using PSAT

In power system voltage stability is very important in order to maintain the voltage within the defined limits. The demand of electrical power increases in the last decade due to the lack of expansion in the generation a...

Unique Analytical Modelling of Secure Communication in Wireless Sensor Network to Resist Maximum Threats

Security problems in Wireless Sensor Network (WSN) are still open-end problems. Qualitative evaluation of the existing approaches of security in WSN shows adoption of either complex cryptographic use or attack-specific s...

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