Authors: Avi Ajmera
DOI Link: https://doi.org/10.22214/ijraset.2022.47795
Certificate: View Certificate
Sentiment analysis is an artificial intelligence branch that focuses on expressing human emotions and opinions in the sense of data. We try to focus on our sentiment analysis work on the Stanford University-provided IMDB movie review database in this post. We look at the expression of emotions to determine whether a movie review is positive or negative, then standardize and use these features to train multiple label classifiers to identify movie reviews on the right label. Since there were no solid framework structures in a study of random jargon movies, a standardized N-gram approach was used. In addition, a comparison of the various categories\' methods was conducted in order to determine the best classifier for our domain query. Our process, which employs separation techniques, has an accuracy of 83 percent.
“What other people think” has always been the safest way to make well-informed shopping, service-seeking, and voting decisions. Because of the Internet, it is no longer limited to just friends, families, and neighbors; instead, it now includes complete strangers that we have never met before. On the other side, a growing number of people are turning to the internet as a means of communicating their opinions to those they do not know.
Sentiment is a feature that decides whether a text's expressed opinion is positive or negative, or whether it is about a particular subject. "Logan is a really nice movie, highly recommended 10/10," for example, sharing positive feelings about the film Logan, which is also the title of this post. For example, in the text "I am amazed that so many people put Logan in their favorite movies, I felt a good watch but not that good," the author's feelings about the movie might be good, but not the same message. Above everything, Emotional analysis is a collection of processes, strategies, and tools for gathering and converting knowledge below the level of language, such as viewpoint and attitude.
Emotional analysis has traditionally focused on the principle of harmony, or whether an individual has a positive, neutral, or negative perspective on something. The topic of emotional analysis was a product or service with publicly accessible online reviews.
This may explain why sentimental analysis and theoretical analysis are often used interchangeably; however, we believe that seeing emotions as emotionally charged ideas is more accurate. The aim of this paper is to categorize movie reviews by examining the magnitude (good or bad) of each category in the review . We devised an approach to describe the polarity of the movie using these sentiment words because of the abundant usage of sentiment words in the study.
To determine which model works best for sentiment classification, we looked at network configuration and hyper parameters (batch size, number of epochs, reading rate, batch performance, depth, vocabulary size).
II. LITERATURE REVIEW
A. Natural Language Processing (NLP)
Natural language grammar, also known as NLP, refers to a computer program's capacity to comprehend human speech in its natural form. Natural language processing is a part of artificial intelligence. The development of natural language processing (NLP) applications is notoriously challenging since computers typically require people to "speak" to them in the language of an accurate, unambiguous, and well-structured system, or with a limited number of voice commands that are clearly written.
Human speech, on the other hand, is not always accurate; it is frequently vague, and the structures of languages can be influenced by a variety of factors, such as slang, regional languages, and the social context in which they are spoken. Syntax analysis and semantic naming are the two primary methods that are utilized in natural language processing. Syntactic analysis and semantic labelling are the two primary methods that are utilized in natural language processing. It is imperative that the word order in a syntax be understood to comprehend a method.
B. Sentiment Analysis
Sentiment analysis, which can also be referred to as opinion mining, is a type of natural language processing (NLP) that determines the overall mood of a piece of written communication. The identification and organization of ideas regarding a product, service, or idea into categories is a common practice in business settings. It requires data analysis, machine learning (ML), and artificial intelligence (AI) to mine sensitive information and text that contains emotional content. 
Internet outlets such as emails, blog posts, service tickets, web chats, social media sites, forums, and tweets are some examples of places where organisations can use technology research tools to gather insights from informal and informal messages. It is possible to use algorithms in place of manual data analysis to perform legal, automatic, or hybrid methods of analysis. While working on this project, we made use of a few different steps to conduct research and think about both the meaning of the term and the context in which it is used. We began by inserting a summary token and splitting the terms into features. The random review was stopped in the first phase to ensure that there was no sexism in the procedure. We kept the movie summary in the list of positive or bad aspects in front of it until we ended the review. We then built a new list to store all the words from the view. The frequency distribution function was used in the second column to search the most frequent terms in all updates.
When the most familiar words offer a bad or positive idea, we now announce the root of these words. We've created a new list of the most famous terms and their origins, which will be used to train and validate our method. These terms can now be used as functions of our method to use various forms of algorithms. We used separate Machine Learning Algorithms to discern any negative or positive feedback that you have added to it after separating the training and testing sets.
C. Text Pre-Processing and Normalization
Cleaning, pre-processing, and standardizing the text to bring text artefacts such as phrases and words to some degree format is one of the most critical steps before joining the state-of-the-art engineering and modelling process.
This allows for ranking over the entire text, which aids in the creation of meaningful functionality and reduces the noise that can be imported because of a variety of factors such as inactive characters, special features characters, XML and HTML tags, and so on. .
The following are the key components of our text normalisation pipeline:
D. Feature Weighting Methods
Feature Weighting is Selection of text-related functions depending on the number of continuous values. We sought to test the efficacy of weight-loss approaches in the sense of emotional isolation. We also tried to figure out what impact the split algorithm has. We picked the following three weight-measurement methods from among the exceptions.
E. Text Classifiers
Text separators are used in sensory research to decide which movie reviews have the most votes. As a result, we analyse the influence of dividers on updates using the methods described below.
3. Naïve Bayes (NB): Based on the Bayes principle. The appearance of one entity in the classroom has no bearing on the presence of another element. The NB model is straightforward and effective for massive data sets. The Bayes theorem is used to measure the back odds
5. Support Vector Machine (SVM): It's a machine learning algorithm that's supervised. It is commonly used for partitioning as well as the withdrawing side. To find a hyper plane, the concept is to partition the database into two sections. The space between the data point and the hyper plane is called the boundary. The aim is to assess the absolute limit of well-distributed new data potential. Smaller collections have higher accuracy, whereas massive data sharing takes longer.
6. Neural Network (NN): They work on a single record at a time. Compares record divisions of recognised classifications to learn. Errors from the first iteration are fed into the continuous flow, reducing errors. Back delivery uses forward simulation to change the weight of the link and is often used to train the network with proven good performance. It improves the precision of different data. Tuning and training on a massive database is challenging.
7. K-Nearest Neighbor (KNN): It employs all possible segmentation scenarios. The Euclidean parallel scale is used to establish new classifications. It's used for pattern analysis as well as statistical equations. The distance between two points in Euclidean space is known as the square root of the difference between the corresponding point links. If the complexity of the training database becomes larger, KNN becomes more complex.
8. Stochastic Gradient Descent (SGD): The increasing gradient is another name for it. Upgrade parameter values based on human training values. This method is useful when an optimization algorithm is looking for parameters. Instead of renewing coefficients at the completion of a series of parameters, it is done for each training event.  The gradient drop algorithm makes predictions for each data state, so large data sets take longer to process. The reduction of stochastic gradient produces a positive effect of massive data in a short amount of time.
The below are the key obstacles for sentiment analysis: -
This paper examines the issue of sentiment analysis. There are three influencing factors. The BoW, TF-IDF, and Word2Vec calculation methods were combined with a variety of classifier, including the Decision tree, Random Forest, Naive Bayes classifier, Support vector machine, , Decreased stochastic gradient, and checks, to determine emotions in the IMDB\'s database of movie reviews. We believe that Word2Vec with SGD is the right mixture of emotions for the IMDB database segmentation issue based on test results. This form had the highest accuracy score of 89 percent and the highest F1 score of 83.6 percent, making it the best of all combinations. This research can be expanded to include the analysis of online feedback from social media platforms and other sophisticated algorithms.
 NLTK: The Natural Language Toolkit. Edward Loper and Steven Bird Department of Computer and Information Science University of Pennsylvania, Philadelphia, PA 19104-6389, USA  Steven Bird NLTK Documentation Release 3.2.5. (English) Sep 28, 2017  Edward Loper,Steven Bird, NLTK: the natural language toolkit, Proceedings of the ACL 2004 on Interactive poster and demonstration sessions, p.31-es, July 21-26, 2004, Barcelona, Spain  Naive Bayes Scikit-Learnn.org. (English) Sep 28, 2017  Cortes, Corinna;Vapnik,VladimirN.(1995).\"Support-vectornetworks\".Machine Learning. 20 (3): 273–297. CiteSeerX 10.1.1.15.9362  Guerini Marco Lorenzo Gatti Marco Turchi Sentiment analysis: How to derive prior polarities from SentiWordN et vol. 5843 2013.  Bhoir Purtata Shilpa Kolte \"Sentiment analysis of movie reviews using lexicon approach\" 2015 IEEE International Conference on Computational Intelligence and Computing Research (ICCIC) pp. 1-6 2015.
Copyright © 2022 Avi Ajmera. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Authors : Avi Ajmera
Paper Id : IJRASET47795
Publish Date : 2022-11-30
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here