Lexicon-Based Sentiment Analysis of Online Customer Ratings as a Quinary Classification Problem

  • Claudia HöselEmail author
  • Christian Roschke
  • Rico Thomanek
  • Marc Ritter
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 1034)


Online customer reviews are not only an important decision-making tool for customers, they are also used by e-commerce providers as a source of information to analyze customer satisfaction. In order to reduce the complexity of evaluation comments, written reviews are additionally represented by evaluation stars in many evaluation systems. Numerous studies address the sentiment recognition of written reviews and view polarity recognition as a binary or ternary problem. This study presents the first results of a holistic approach, which takes up the combination of customer reviews with evaluation points realized in platform-dependent evaluation systems. Sentiment analysis is regarded as a quinary classification problem. In this study, 5,000 customer evaluations are analyzed with lexicon-based sentiment analysis at document level with the target to predict the evaluation points based on the determined polarity. For sentiment analysis the data mining tool RapidMiner is used and the categorization of the sentiment polarity is realized by using different NLP techniques in combination with the sentiment dictionary SentiWordNet. The supervised learning algorithms k-Nearest Neighbor, Naïve Bayes and Random Forest are used for classification and their classification quality is compared. Random Forest achieves the most accurate results in conjunction with NLP techniques, while the other two classifiers provide worse results. The results suggest that a stronger scaling of polarity requires a stronger differentiation between classes and thus a more intensive lexical preprocessing.


Natural language processing Sentiment analysis Classification Supervised learning methods 


  1. 1.
    Plottek, K., Herold, C.: Micro moments als entscheidender moment im rahmen einer zunehmend fragmentierteren customer journey. In: Rusnjak, A., Schallmo, D.R.A. (eds.) Customer Experience im Zeitalter des Kunden, pp. 143–176. Springer, Wiesbaden (2018). Scholar
  2. 2.
    Bitkom: Shopping digital – Wie die Digitalisierung den Handel tiefgreifend verändert. Technical report (2017).
  3. 3.
  4. 4.
    Scholz, T.: Opinion mining für verschiedene Webinhalte. In: Scherfer, K., Volpers, H. (eds.) Methoden der Webwissenschaft, pp. 63–81. Schriftenreihe Webwissenschaft, Lit, Berlin (2013)Google Scholar
  5. 5.
    Medhat, W., Hassan, A., Korashy, H.: Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5(4), 1093–1113 (2014)CrossRefGoogle Scholar
  6. 6.
    Ziegler, C.N.: Automated capture of strategic knowledge on the web, p. 160. Albert-Ludwigs-Universität Freiburg i. Br., Freiburg i. Br. (2010).
  7. 7.
    Aryo Prakoso, A., Winantesa Yananta, B., Fitra Setyawan, A., Muljono: A lexicon-based sentiment analysis for Amazon web review. In: 2018 International Seminar on Application for Technology of Information and Communication, pp. 503–508. IEEE (2018)Google Scholar
  8. 8.
    Alkalbani, A.M., Gadhvi, L., Patel, B., Hussain, F.K., Ghamry, A.M., Hussain, O.K.: Analysing cloud services reviews using opining mining. In: IEEE 31st International Conference on Advanced Information Networking and Applications (AINA), pp. 1124–1129. IEEE (2017)Google Scholar
  9. 9.
    Fang, X., Zhan, J.: Sentiment analysis using product review data. J. Big Data 2(1), 1–14 (2015)CrossRefGoogle Scholar
  10. 10.
    Lin, B., Zampetti, F., Bavota, G., Di Penta, M., Lanza, M., Oliveto, R.: Sentiment analysis for software engineering: how far can we go? In: The 40th International Conference, pp. 94–104. ACM Press (2018)Google Scholar
  11. 11.
    El Alaoui, I., Gahi, Y., Messoussi, R., Chaabi, Y., Todoskoff, A., Kobi, A.: A novel adaptable approach for sentiment analysis on big social data. J. Big Data 5(1), 1–18 (2018)CrossRefGoogle Scholar
  12. 12.
  13. 13.
    Baeza-Yates, R., Ribeiro-Neto, B.: Modern Information Retrieval, pp. 29–30. Addison Wesley (1999)Google Scholar
  14. 14.
  15. 15.
  16. 16.
    Pang, B., Lee, L.: Briefly noted. Comput. Linguist. 35(2), 311–312 (2009)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Claudia Hösel
    • 1
    Email author
  • Christian Roschke
    • 1
  • Rico Thomanek
    • 1
  • Marc Ritter
    • 1
  1. 1.University of Applied Sciences MittweidaMittweidaGermany

Personalised recommendations