IMDB Sentiment Analysis Based on Comment by Using Machine Learning

Sentiment analysis plays a significant role in understanding user opinions, product reviews, and market feedback by classifying textual data into sentiment categories. This project presents a lightweight, web-based sentiment analysis application using the Flask framework integrated with a Multinomial Naive Bayes classifier. The system is designed to classify movie reviews as either positive or negative, facilitating quick and accessible feedback analysis for users. Text data is pre-processed and transformed into numerical vectors using CountVectorizer, allowing the Naive Bayes model to perform effective feature-based classification. The classifier is trained on a small, clean dataset of movie reviews and demonstrates how simple yet powerful models can be applied in real-world sentiment classification tasks. To enable real-time sentiment predictions, the trained model and vectorizer are serialized using pickle and loaded within the Flask application. Users can submit their movie reviews through a simple HTML interface, and the system predicts and displays the sentiment classification immediately. Additionally, the application integrates Swagger documentation using Flasgger, providing clear API endpoint testing and making it easier for developers to extend or test the system. The modular structure of the application, including data processing, model training, and web deployment, makes it an effective learning tool for beginners in machine learning deployment workflows. This project demonstrates the end-to-end pipeline of building, training, and deploying a machine learning model using Python’s Flask micro-framework, emphasizing the practical application of sentiment analysis in web services. It highlights how sentiment analysis can be used in review systems, customer feedback monitoring, and content moderation. The system can be scaled further with larger datasets and additional NLP preprocessing for enhanced accuracy in practical applications. Overall, this project provides a hands-on implementation of a sentiment analysis system that is accessible, interpretable, and ready for integration into real-world environments. Key Words: Sentiment Analysis, Naive Bayes, Flask, Natural Language Processing, Machine Learning, CountVectorizer

Authors

Publication Details

Journal
International Scientific Journal of Engineering and Management
Published
2025-07-26
DOI
https://doi.org/10.55041/isjem04878
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

IMDB Sentiment Analysis Based on Comment by Using Machine Learning

KURMAPU DURGAPRASAD., MAMIDI TARANI
International Scientific Journal of Engineering and Management
Sentiment Analysis and Opinion Mining
article

IMDB Sentiment Analysis Based on Comment by Using Machine Learning

KURMAPU DURGAPRASAD., MAMIDI TARANI
article en

Abstract

Sentiment analysis plays a significant role in understanding user opinions, product reviews, and market feedback by classifying textual data into sentiment categories. This project presents a lightweight, web-based sentiment analysis application using the Flask framework integrated with a Multinomial Naive Bayes classifier. The system is designed to classify movie reviews as either positive or negative, facilitating quick and accessible feedback analysis for users. Text data is pre-processed and transformed into numerical vectors using CountVectorizer, allowing the Naive Bayes model to perform effective feature-based classification. The classifier is trained on a small, clean dataset of movie reviews and demonstrates how simple yet powerful models can be applied in real-world sentiment classification tasks. To enable real-time sentiment predictions, the trained model and vectorizer are serialized using pickle and loaded within the Flask application. Users can submit their movie reviews through a simple HTML interface, and the system predicts and displays the sentiment classification immediately. Additionally, the application integrates Swagger documentation using Flasgger, providing clear API endpoint testing and making it easier for developers to extend or test the system. The modular structure of the application, including data processing, model training, and web deployment, makes it an effective learning tool for beginners in machine learning deployment workflows. This project demonstrates the end-to-end pipeline of building, training, and deploying a machine learning model using Python’s Flask micro-framework, emphasizing the practical application of sentiment analysis in web services. It highlights how sentiment analysis can be used in review systems, customer feedback monitoring, and content moderation. The system can be scaled further with larger datasets and additional NLP preprocessing for enhanced accuracy in practical applications. Overall, this project provides a hands-on implementation of a sentiment analysis system that is accessible, interpretable, and ready for integration into real-world environments. Key Words: Sentiment Analysis, Naive Bayes, Flask, Natural Language Processing, Machine Learning, CountVectorizer

International Scientific Journal of Engineering and ManagementVol. 04(07)
Openalex Percentile: Top 91%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

IMDB Sentiment Analysis Based on Comment by Using Machine Learning — KURMAPU DURGAPRASAD., MAMIDI TARANI · International Scientific Journal of Engineering and Management (2025) | TGRS Research Map | TGRS