This repository contains a Flask app for sentiment analysis. The app analyzes sentiment of text reviews related to badminton.
- Data/reviews_badminton: Contains the data files used for sentiment analysis.
- requirement.txt: Contains a list of required Python packages. Install them using
pip install -r requirements.txt
. - app.py: Flask app file. Run the app using
python3 app.py
in the terminal.
-
Clone the repository to your local machine:
git clone https://github.com/your-username/sentiment-analysis.git
-
Navigate to the cloned repository directory:
cd sentiment-analysis
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the Flask app:
python3 app.py
-
Open your web browser and go to
http://localhost:5000
to access the app.
- Enter a review related to badminton in the text area provided.
- Click on the "Predict Sentiment" button.
- The app will analyze the sentiment of the review and display the result.
This Flask app uses a machine learning model to perform sentiment analysis on text reviews. It is built for analyzing sentiment specifically in badminton-related reviews. The model is trained on a dataset of badminton-related reviews and predicts whether a review is positive, negative, or neutral.
This project is licensed under the MIT License - see the LICENSE file for details.