Sentiment Analysis for Scraping of Product Reviews from Multiple Web Pages Using Machine Learning Algorithms

  • E. SuganyaEmail author
  • S. Vijayarani
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 941)


Sentiment analysis is the computational task of automatically determining what feelings a writer is expressed in text. Sentiment analysis is gaining much attention in recent years. It is often framed as a binary distinction, i.e. positive vs. negative, but it can also be a more fine-grained, like identifying the specific emotion an author is expressing like fear, joy or anger. Globally, business enterprises can leverage opinion polarity and sentiment, topic recognition to gain deeper understanding of the drivers and the overall scope. Subsequently, these insights can advance competitive intelligence and improve customer service, thereby creating a better brand image and providing a competitive edge. To extract the content from e-commerce website using web scraping technique. It will be looping through then number of pages or so of comments for each of the products. In this work, online product reviews are collected using web scraping technique. The collected online product reviews are analyzed using opinion or sentiment analysis using classification models such as KNN, SVM, Random Forest, CNN (Convolutional Neural Network) and proposed hybrid SVM-CNN. Experiments for the classification models are performed with promising outcomes.


Web scraping Sentiment analysis KNN Random Forest SVM CNN 


  1. 1.
    Sonagi, A., Gore, D.: Efficient sentiment analysis using hybrid PSO-GA approach. Int. J. Innov. Res. Comput. Commun. Eng. 5(6), 11910–11916 (2017)Google Scholar
  2. 2.
    Nirmala Devi, K., Jayanthi, P.: Sentiment Classification Using SVM And PSO. Int. J. Adv. Eng. Technol. VII(II), 411–413 (2016)Google Scholar
  3. 3.
    Kumar, A., Khorwal, R., Chaudhary, S.: A survey on sentiment analysis using swarm intelligence. Indian J. Sci. Technol. 9(39), 1–7 (2016)Google Scholar
  4. 4.
    Redhu, S., Srivastav, S., Bansal, B., Gupta, G.: Sentiment analysis using text mining: a review. Int. J. Data Sci. Technol. 4(2), 49 (2018)CrossRefGoogle Scholar
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
    Jindal, N., Liu, B.: Opinion spam and analysis. In: Proceedings of the 2008 International Conference on, Web Search and Data Mining, WSDM 2008, pp. 219–230. ACM, New York (2008)Google Scholar
  13. 13.
    Mukherjee, A., Liu, B., Glance, N.: Spotting fake reviewer groups in consumer reviews. In: Proceedings of the 21st, International Conference on World Wide Web, WWW 2012, pp. 191–200. ACM, New York (2012)Google Scholar
  14. 14.
  15. 15.
  16. 16.
    Huang, F.-J., et al.: Large-scale learning with SVM and convolutional nets for generic object categorization. In: Proceedings of the IEEE International Conference on CVPR (2006)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Department of Computer ScienceBharathiar UniversityCoimbatoreIndia

Personalised recommendations