"Flask Sentiment Analyzer" is a web app that predicts the sentiment of product reviews using machine learning. Users input text, and the app determines whether it's positive or negative. It aids in decision-making by providing quick insights into customer sentiments.
This is a Flask web application for analyzing sentiment in Flipkart product reviews. Users can input their text reviews, and the app predicts whether the review's sentiment is positive or negative using a pre-trained machine learning model.
- Input text reviews and get sentiment analysis predictions.
- Simple and intuitive user interface.
- Responsive design for use on both desktop and mobile devices.
- Uses a machine learning model for sentiment analysis.
- Clone this repository to your local machine.
- Navigate to the project directory.
- Install the required dependencies using pip:
pip install -r requirements.txt
- Run the Flask application:
python app.py
- Access the application in your web browser at
http://localhost:5000
.
- Enter your text review in the provided text area.
- Click the "Submit" button to see the sentiment analysis result.
- The result page will display the entered text and the predicted sentiment.
- Flask: Micro web framework for Python.
- scikit-learn: Machine learning library for Python.
- HTML/CSS: Frontend development.
- JavaScript: Frontend interactivity.
- The machine learning model used in this application was trained on a dataset sourced from Flipkart product reviews.
This project is licensed under the MIT License - see the LICENSE file for details.