Welcome to our project repository for the MILAN Hostel Inter-Hostel Hackathon! This repository contains all the code and resources for our project, which is focused on categorizing laptops based on their features using a sentiment analysis model.
In this competition, we aimed to build a web application that not only helps users identify the features of laptops but also provides sentiment analysis of reviews related to those laptops.
In this project, we have created a web application that allows users to:
- Browse and search for different laptop models.
- View detailed specifications and features of each laptop.
- Submit reviews and opinions on laptops.
- Utilize a sentiment analysis model to determine the sentiment of user reviews.
Our sentiment analysis model helps users understand the general sentiment (positive, negative, or neutral) of the reviews related to a particular laptop. This can be helpful for users who are considering purchasing a laptop and want to gauge customer satisfaction.
- Laptop categorization based on features.
- Detailed laptop specifications and features.
- User review submission and display.
- Sentiment analysis of user reviews.
- User-friendly web interface.
NOTE : These commands were tested on Ubuntu 22.04 .
To run this project locally, follow these steps:
-
Clone the repository to your local machine:
-
Install the required dependencies:
-
Run the web application:
The application should now be running locally on your machine.
Git clone this repository in your machine.
Ensure you have python version install 3.11 .
pip install fastapi
pip install firebase
pip install python-dotenv
pip install uvicorn
pip install firebase-admin
pip install tensorflow
pip install pandas
pip install cython
pip install ktrain
pip install nltk
pip install stanza
pip install --upgrade pydantic fastapi typing-extensionsEnsure that you have npm installed.
npm i --app https://drive.google.com/drive/folders/1ykhVT2Dvoqj9Xo93a5ZqCi8dytVCcbh7?usp=sharing
We welcome contributions from the community! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/new-feature. - Make your changes and commit them:
git commit -m "Add new feature". - Push your changes to your fork:
git push origin feature/new-feature. - Create a pull request on the main repository.