Hill Publishing Group | contact@hillpublisher.com

Hill Publishing Group

Location:Home / Journals / Journal of Applied Mathematics and Computation /


Extraction of Drug Review Polarity Using Sentimental Analysis

Date: April 8,2022 |Hits: 746 Download PDF How to cite this paper

Raja Marappan*, S. Bhaskaran, S. Ashwadh, H. Aathi Raj

School of Computing, SASTRA Deemed University, Thanjavur, India.

*Corresponding author: Raja Marappan


The social networking site and user sites contain a large amount of information with users’ feelings and opinions in various fields. For example, pharmaceutical companies provide users with text reviews and drug numeric ratings. Anyhow, these text-oriented reviews may not always be consistent with numerical values. In this project, we use different sentiment analysis models to differentiate drug user rating emotions and compare their accuracy. Various machine learning models including Logistic Regression, XG boost, and Naïve Bayes classifiers are being implemented by pushing it with drug reviews as inputs. In this, the XG boost model performed much better than other models with a total accuracy of 79.7%. This study has shown that these classification models can be used to separate drug reviews and identify the overall polarity or sentiment of the consumers. Since the main focus of this study was to separate the text reviews, the data were segregated according to each polarity. The division of binary classification was chosen instead of multiple classes as the purpose of this project was to identify the best and worst points/polarity. With the help of this polarity, it helps the nutritionist and the doctor to get updated with the in-market polarity of a particular drug and its public response.


[1] S. Garg. (2021). “Drug Recommendation System based on Sentiment Analysis of Drug Reviews using Machine Learning,” 2021 11th International Conference on Cloud Computing, Data Science & Engineering (Confluence), 2021, pp. 175-181, doi: 10.1109/Confluence51648.2021.9377188.

[2] Y. Han, M. Liu, and W. Jing. (2020). “Aspect-Level Drug Reviews Sentiment Analysis Based on Double BiGRU and Knowledge Transfer,” in IEEE Access, vol. 8, pp. 21314-21325, 2020, doi: 10.1109/ACCESS.2020.2969473.

[3] DRAW—Drug Review Analysis Work. Author: Akash Kunwar, Rohan Harode, Shubham Malik.

[4] Z. Wang, C. Wu, K. Zheng, X. Niu, and X. Wang. (2019). “SMOTETomek-Based Resampling for Personality Recognition”, IEEE Access, vol. 7, pp. 129678-129689, 2019.

[5] J. Li, H. Xu, X. He, J. Deng, and X. Sun. (2016). “Tweet modeling with LSTM recurrent neural networks for hashtag recommendation”, 2016 International Joint Conference on Neural Networks (IJCNN), pp. 1570-1577, 2016.

[6] V. Goel, A. K. Gupta, and N. Kumar. (2018). “Sentiment Analysis of Multilingual Twitter Data using Natural Language Processing”, 2018 8th International Conference on Communication Systems and Network Technologies (CSNT), pp. 208-212, 2018.

How to cite this paper

Extraction of Drug Review Polarity Using Sentimental Analysis

How to cite this paper: Raja Marappan, S. Bhaskaran, S. Ashwadh, H. Aathi Raj. (2022) Extraction of Drug Review Polarity Using Sentimental Analysis. Journal of Applied Mathematics and Computation6(2), 167-177.

DOI: http://dx.doi.org/10.26855/jamc.2022.06.001

Volumes & Issues

Free HPG Newsletters

Add your e-mail address to receive free newsletters from Hill Publishing Group.

Contact us

Hill Publishing Group

8825 53rd Ave

Elmhurst, NY 11373, USA

E-mail: contact@hillpublisher.com

Copyright © 2019 Hill Publishing Group Inc. All Rights Reserved.