Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 2.38 KB

README.md

File metadata and controls

78 lines (59 loc) · 2.38 KB

Sentiment Analysis Web App

Overview

This project is a web application for sentiment analysis. It allows users to input text and receive a sentiment analysis score indicating whether the sentiment is positive, negative, or neutral.

Live Demo

You can access the live web application here.

Project Images

Screenshot 1 Figure 1:Shows the web add interface .

Screenshot 2 Figure 2: You can either add a CSV file or add a single line text to check its sentiment.

Screenshot 3 Figure 3: Result of sentiment analysis of CSV file .

Screenshot 4 Figure 4: Result of sentiment analysis of Text input.

Features

  • User Input: Users can input text directly into the web app.
  • Sentiment Analysis: The app processes the input text and returns a sentiment score.
  • Real-time Results: The sentiment analysis is performed in real-time, providing immediate feedback.

Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python, Flask
  • Machine Learning: Scikit-learn, NLTK
  • Deployment: Render

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/sentiment-analysis-webapp.git
    cd sentiment-analysis-webapp
  2. Create and activate a virtual environment:

    python -m venv venv
    .\venv\Scripts\activate
  3. Install the required dependencies:

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

    python app.py
  5. Open your web browser and go to http://127.0.0.1:5000/ to see the application in action.

Usage

  1. Open the web application.
  2. Enter the text you want to analyze in the input field.
  3. Click the "Analyze" button.
  4. View the sentiment analysis results displayed on the screen.

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

Contact

If you have any questions or feedback, please feel free to contact me at [[email protected]].