This project aims to detect and analyze revenge-driven sentiment in Yelp reviews using large language models (LLMs). Unlike traditional sentiment analysis, which focuses on polarity (positive/negative), this approach seeks to uncover emotionally charged reviews motivated by retaliation, personal vendettas, or exaggerated negativity. The goal is to build a pipeline that can identify these nuanced signals and support deeper understanding of user intent.
git clone https://github.com/your-username/yelp-revenge-sentiment.git
cd yelp-revenge-sentiment
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
data/
: Raw and processed Yelp datasets (.json, .json.gz)notebooks/
: Exploratory analysis and model development in Jupytersrc/
: Core source code including data loaders, preprocessing, and modelingtests/
: Unit tests for key componentsmodels/
: Saved model checkpoints and outputsreports/
: Generated reports, visualizations, and summaries.env
: Environment variablesrequirement.txt
: Python dependenciessetup.py
: Project packaging and metadata