Abstract
NLP refers to the computer-based study of language when referring to textual data such as texts or reviews. Natural language processing frequently seeks to give otherwise unstructured natural language a representation of the text that gives it structure. Marketing, social media, and customer relationship management are just a few of the businesses that heavily rely on sentiment analysis (SA), one of the methods used in opinion mining, typically assesses a textual review's structure to see if it conveys a positive or negative impression .In this paper, the challenge was to convert unstructured texts into structured texts for drug datasets, and interlocking between sentiment analysis, the mechanism that was adopted in the paper starts with several stages. The first stage is data preprocessing with natural language processing techniques, and the next stage is the prediction step with classification models are logistic regression(LR), random forest(RF), Naïve Bays(NB), and Support Vector Machine (SVM), the best Result of prediction accuracy 92%,for random forest .