/sentiment_analysis

This checks your review and analyse is then categorize as either positive, negative or neutral

Primary LanguageHTML

sentiment_analysis: Simple Text Analysis with Flask and VADER Sentiment Analysis

Python Flask VADER Sentiment

Perform text sentiment analysis on user-provided text using Flask, VADER Sentiment Analysis, and Python. This project demonstrates a simple web application that allows users to enter text, and it returns the sentiment of the text as either Positive, Negative, or Neutral.

Features

  • Input text analysis for sentiment: Enter text and click the "Analyse" button to determine its sentiment.
  • Sentiment labels: Sentiment is categorized as Positive, Negative, or Neutral based on VADER Sentiment Analysis.
  • User-friendly interface: Built with Flask and Bootstrap for a clean and responsive design.
  • Easy to deploy: A Flask web application that can be hosted locally or deployed to platforms like Heroku.

Getting Started

These instructions will help you set up and run the project on your local machine.

Prerequisites

  • Python 3.7 or higher
  • Flask 2.0 or higher
  • VADER Sentiment Analysis 3.3.2 or higher

Installation

  1. Clone the repository:

    git clone https://github.com/Abadeolu/sentiment_analysis.git
    
    
  2. Once cloned, Navigate to the project directory

    cd your-repo
    
    
  3. Install the required Python packages:

    pip install -r requirements.txt
    
    
  4. Usage: Run the Flask application:

    python app.py
    
    
  5. Open your web browser and navigate to http://localhost:5000 to access the application.

  6. Enter your text in the input field and click the "Analyse" button to see the sentiment result.

  7. Customization: You can customize the sentiment labels or the appearance of the web application by modifying the code in app.py and index.html.

Built With: . Flask . Vadar Sentiment Analysis

Acknowledgments: Special thanks to the creators and maintainers of Flask and VADER Sentiment Analysis. Enjoy analyzing text sentiment with this simple web application! If you have any questions or suggestions, please feel free to reach out.