Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.3 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.3 KB

Movie-Review-Sentiment-Backend

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.

Prerequisites

Before you begin, ensure you have the following tools installed:

  • Python (v3.6 or later)
  • pip (v20.0 or later)

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/your-repo.git
  2. Navigate to the project folder:

    cd your-repo
  3. Create a virtual environment:

    python -m venv venv
  4. Activate the virtual environment:

    • On Windows:

      .\venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  5. Install dependencies:

    pip install -r requirements.txt

Running the App

To start the Flask app, run:

python main.py