Sentiment Analysis of Novel Review Using Long Short-Term Memory Method

Muh Amin Nurrohmat(1*), Azhari SN(2)

(1) Master Program of Computer Science, FMIPA UGM, Yogyakarta
(2) Department of Computer Science and Electronics, FMIPA UGM, Yogyakarta
(*) Corresponding Author


The rapid development of the internet and social media and a large amount of text data has become an important research subject in obtaining information from the text data. In recent years, there has been an increase in research on sentiment analysis in the review text to determine the polarity of opinion on social media. However, there are still few studies that apply the deep learning method, namely Long Short-Term Memory for sentiment analysis in Indonesian texts.

This study aims to classify Indonesian novel novels based on positive, neutral and negative sentiments using the Long Short-Term Memory (LSTM) method. The dataset used is a review of Indonesian language novels taken from the site. In the testing process, the LSTM method will be compared with the Naïve Bayes method based on the calculation of the values of accuracy, precision, recall, f-measure.

Based on the test results show that the Long Short-Term Memory method has better accuracy results than the Naïve Bayes method with an accuracy value of 72.85%, 73% precision, 72% recall, and 72% f-measure compared to the results of the Naïve Bayes method accuracy with accuracy value of 67.88%, precision 69%, recall 68%, and f-measure 68%.


sentiment analysis; novel review; Long Short-Term Memory; Naïve Bayes

Full Text:



[1] T. Parlar and S. A. Özel, “A new feature selection method for sentiment analysis of Turkish reviews,” 2016 Int. Symp. Innov. Intell. Syst. Appl., pp. 1–6, 2016.

[2] Z. Zhang, Q. Ye, Z. Zhang, and Y. Li, “Sentiment classification of Internet restaurant reviews written in Cantonese,” Expert Syst. Appl., vol. 38, no. 6, pp. 7674–7682, 2011.

[3] A. M. Ramadhani and H. S. Goo, “Twitter sentiment analysis using deep learning methods,” in 2017 7th International Annual Engineering Seminar (InAES), 2017, vol. 9121, no. JUNE, pp. 1–4.

[4] B. Liu, Sentiment Analysis and Opinion Mining, no. May. 2012.

[5] Z. Yangsen, J. Yuru, and T. Yixuan, “Study of sentiment classification for Chinese Microblog based on recurrent neural network,” Chinese J. Electron., vol. 25, no. 4, pp. 601–607, 2016.

[6] Z. Su, H. Xu, D. Zhang, and Y. Xu, “Chinese Sentiment Classification Using A Neural Network Tool - Word2vec,” Multisens. Fusion Inf. Integr. Intell. Syst., 2014.

[7] X. Rong, “word2vec Parameter Learning Explained,” pp. 1–21, 2014.

[8] L. Deng and D. Yu, “Deep Learning: Methods and Applications,” Found. Trends® Signal Process., vol. 7, no. 3–4, pp. 197–387, 2014.

[9] T. A. Le, D. Moeljadi, Y. Miura, and T. Ohkuma, “Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets,” pp. 123–131, 2016.

[10] F. Ratnawati, “Analisis Sentimen Opini Film Pada Twitter Menggunakan Algortime Dynamic Convolutional Neural Network,” Universitas Gadjah Mada, 2017.

[11] A. Hassan and A. Mahmood, “Deep learning for sentence classification,” 2017 IEEE Long Isl. Syst. Appl. Technol. Conf. LISAT 2017, 2017.

[12] A. Rao and N. Spasojevic, “Actionable and Political Text Classification using Word Embeddings and LSTM,” 2016.

[13] D. Tomar, S. Singhal, and S. Agarwal, “Weighted Least Square Twin Support Vector Machine for Imbalanced Dataset,” Int. J. Database Theory Appl., vol. 7, no. 2, pp. 25–36, 2014.

[14] C. Olah, “Understanding LSTM Networks,” 2015. [Online]. Available: [Accessed: 17-Jan-2018].


Article Metrics

Abstract views : 11512 | views : 8137


  • There are currently no refbacks.

Copyright (c) 2019 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright of :
IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
ISSN 1978-1520 (print); ISSN 2460-7258 (online)
is a scientific journal the results of Computing
and Cybernetics Systems
A publication of IndoCEISS.
Gedung S1 Ruang 416 FMIPA UGM, Sekip Utara, Yogyakarta 55281
Fax: +62274 555133 |

View My Stats1
View My Stats2