Welcome to Sentimaster, your go-to sentiment analysis tool. Sentimaster leverages powerful machine learning algorithms to analyze and interpret the sentiment behind textual data, helping you make informed decisions based on customer feedback, social media comments, and more.
- Insightful Analysis: Gain deep insights into sentiment trends with precision.
- User-Friendly Interface: Easily analyze sentiment with an intuitive and simple interface.
- Real-Time Feedback: Get instant sentiment analysis results.
- Customizable Solutions: Tailor the tool to fit your unique needs and goals.
- Secure and Reliable: Built on robust machine learning models ensuring accurate predictions.
│
├───Dataset
├───Model
│ ├── SVC.joblib
│ └── CountVectorizer.joblib
├───static
│ └── images
│ └── banner.jpg
└───templates
│ ├── index.html
│ └── result.html
├── app.py
├── model.ipynb
└── requirements.txt
-
Clone the repository:
git clone https://github.com/GoldSharon/Sentimaster.git cd Sentimaste
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Download the pre-trained model and vectorizer:
- Place
SVC.joblib
andVectorizer.joblib
in themodels/
directory.
- Place
-
Run the application:
python app.py
-
Access the web interface: Open your web browser and navigate to
http://127.0.0.1:5000/
.
Home Page: Enter a restaurant review in the text box and click the submit button.
Result Page: Displays whether the review is positive or negative based on the model's prediction.
This project is licensed under the MIT License. See the LICENSE file for more details.
This updated README.md
file includes the necessary instructions for setting up and running the Flask application, reflecting the given directory structure and the specific requirements of the project. Adjust paths, repository URLs, and other details as needed to match your specific setup and requirements.