Research Article

LSTM Network based Sentiment Analysis for Customer Reviews

Volume: 25 Number: 3 October 1, 2022
EN TR

LSTM Network based Sentiment Analysis for Customer Reviews

Abstract

Continuously increasing data bring new problems and problems usually reveal new research areas. One of the new areas is Sentiment Analysis. This field has some difficulties. The fact that people have complex sentiments is the main cause of the difficulty, but this has not prevented the progress of the studies in this field. Sentiment analysis is generally used to obtain information about persons by collecting their texts or expressions. Sentiment analysis can sometimes bring serious benefits. In this study, with singular tag-plural class approach, a binary classification was performed. An LSTM network and several machine learning models were tested. The dataset collected in Turkish, and Stanford Large Movie Reviews datasets were used in this study. Due to the noise in the dataset, the Zemberek NLP Library for Turkic Languages and Regular Expression techniques were used to normalize and clean texts, later, the data were transformed into vector sequences. The preprocessing process made 2% increase to the model performance on the Turkish Customer Reviews dataset. The model was established using an LSTM network. Our model showed better performance than Machine Learning techniques and achieved an accuracy of 90.59% on the Turkish dataset and an accuracy of 89.02% on the IMDB dataset.

Keywords

References

  1. [1] Pang B., Lee L. and Vaithyanathan S., “Thumbs up? Sentiment Classification Using Machine Learning Techniques”, Proceedings of EMNLP, 10: 79-86, (2002).
  2. [2] Yıldırım S., Salman Y. B. and Ayvaz S., “Türkçe Duygu Kütüphanesi Geliştirme: Sosyal Medya Verileriyle Duygu Analizi Çalışması”, Avrupa Bilim ve Teknoloji Dergisi, 16: 51-60, (2019).
  3. [3] Ayvaz S. and Shiha, M. O., “A Scalable Streaming Big Data Architecture for Real-Time Sentiment Analysis”, ICCBDC'18, 47–51, (2018).
  4. [4] Brownlee J., “What is Deep Learning?”, Retrieved From: https://machinelearningmastery.com/what-is-deep-learning/, (2019).
  5. [5] Amidi A. and Amidi S., “Recurrent Neural Networks cheatsheet”, Retrieved From: https://stanford.edu/~shervine/l/tr/teaching/cs-230/cheatsheet-recurrent-neural-networks, (2019).
  6. [6] “Duygu Analizi için Türkçe Veri Seti”, From: https://www.kaggle.com/burhanbilenn/turkish-customer-reviews-for-binary-classification, (2020).
  7. [7] Nalçakan Y., Bayramoğlu Ş. and Tuna S., “Sosyal Medya Verileri Üzerinde Yapay Öğrenme ile Duygu Analizi Çalışması”, (2015).
  8. [8] Wilson T., Wiebe J. and Hoffmann P., “Recognizing contextual polarity in phrase-level sentiment analysis”, HLT/EMNLP, 05: 347-354, (2005).

Details

Primary Language

Turkish

Subjects

Engineering

Journal Section

Research Article

Publication Date

October 1, 2022

Submission Date

December 21, 2020

Acceptance Date

March 3, 2021

Published in Issue

Year 2022 Volume: 25 Number: 3

APA
Bilen, B., & Horasan, F. (2022). LSTM Network based Sentiment Analysis for Customer Reviews. Politeknik Dergisi, 25(3), 959-966. https://doi.org/10.2339/politeknik.844019
AMA
1.Bilen B, Horasan F. LSTM Network based Sentiment Analysis for Customer Reviews. Politeknik Dergisi. 2022;25(3):959-966. doi:10.2339/politeknik.844019
Chicago
Bilen, Burhan, and Fahrettin Horasan. 2022. “LSTM Network Based Sentiment Analysis for Customer Reviews”. Politeknik Dergisi 25 (3): 959-66. https://doi.org/10.2339/politeknik.844019.
EndNote
Bilen B, Horasan F (October 1, 2022) LSTM Network based Sentiment Analysis for Customer Reviews. Politeknik Dergisi 25 3 959–966.
IEEE
[1]B. Bilen and F. Horasan, “LSTM Network based Sentiment Analysis for Customer Reviews”, Politeknik Dergisi, vol. 25, no. 3, pp. 959–966, Oct. 2022, doi: 10.2339/politeknik.844019.
ISNAD
Bilen, Burhan - Horasan, Fahrettin. “LSTM Network Based Sentiment Analysis for Customer Reviews”. Politeknik Dergisi 25/3 (October 1, 2022): 959-966. https://doi.org/10.2339/politeknik.844019.
JAMA
1.Bilen B, Horasan F. LSTM Network based Sentiment Analysis for Customer Reviews. Politeknik Dergisi. 2022;25:959–966.
MLA
Bilen, Burhan, and Fahrettin Horasan. “LSTM Network Based Sentiment Analysis for Customer Reviews”. Politeknik Dergisi, vol. 25, no. 3, Oct. 2022, pp. 959-66, doi:10.2339/politeknik.844019.
Vancouver
1.Burhan Bilen, Fahrettin Horasan. LSTM Network based Sentiment Analysis for Customer Reviews. Politeknik Dergisi. 2022 Oct. 1;25(3):959-66. doi:10.2339/politeknik.844019

Cited By