Movie-Review-Sentiment-Backend is a Flask-based backend service designed to analyze and predict the sentiment of movie reviews using machine learning. The project leverages natural language processing (NLP) techniques to classify reviews as positive, negative, or neutral. This repository contains the Python code, Jupyter notebooks for model training and evaluation, and the serialized model files used to deploy the sentiment analysis model.
Before you begin, ensure you have the following tools installed:
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git
-
Navigate to the project folder:
cd your-repo
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
To start the Flask app, run:
python main.py