Abstract
Sentiment Analysis deals with analyzing users comment on a particular thing and then computationally figuring out the actual sentiment of the user i.e Positive or Negative. The process of computationally identifying and categorizing opinions expressed in a piece of text, especially in order to determine whether the writer's attitude towards a particular topic, product, etc. is positive or negative. This chapter presents a comprehensive review of over 50 papers on sentiment analysis, featuring a comparative analysis of various research techniques. The review highlights strengths and weaknesses of existing methods, identifies research gaps, and provides a foundation for future research directions. In this chapter Naive Bayes approach is used for sentiment prediction, specifically for SPAM and HAM detection. The prediction model is trained using the Naive Bayes algorithm, and the training set is fitted using the WordNet library.