
This project conducts a comprehensive sentiment analysis on customer reviews for two major fashion brands: Adidas and Nike. Utilizing a lexicon-based approach, we leverage three popular sentiment analysis tools—TextBlob, SentiWordNet, and VADER (Valence Aware Dictionary and sEntiment Reasoner)—to extract and compare customer sentiment from textual reviews. The goal is not only to measure and compare brand perception but also to explore how natural language processing (NLP) techniques can categorize feedback based on the type of product purchased.
In today’s fast-paced fashion industry, consumer preferences evolve rapidly, prompting top brands like Nike and Adidas to adapt their product designs, branding, and marketing strategies accordingly. While both brands are known for their high-performance products, not all customers express satisfaction—highlighting the need to better understand consumer sentiments. This project leverages sentiment analysis (opinion mining) to extract and categorize emotions from customer feedback, providing insights into brand perception and satisfaction levels. Using lexicon-based tools such as VADER, SentiWordNet, and TextBlob, the study analyzes customer reviews that were web-scraped from brand websites, with similar datasets also available on Kaggle. By comparing the outputs of each sentiment tool on the same dataset, the project offers a data-driven approach to evaluating customer sentiment across both fashion giants.
A detailed documentation of the entire project workflow, including background, methodology, visualizations, and key insights, is available here.
The core goals of this project are as follows:
The dataset used in this analysis was obtained from Kaggle and contains a rich set of customer reviews, including textual feedback, product categories, and brand labels for both Adidas and Nike. The dataset underwent preprocessing and cleaning before being used for sentiment classification and visualization.
The project is organized into the following main directories and components:
Data Wrangling & Exploration/:
Model Building/:
Sentiment Analysis App/:
To run this project locally, ensure that Python 3.x is installed on your system. The required libraries include:
pandas – for data manipulationnltk – for natural language processingtextblob – for sentiment analysisseaborn and matplotlib – for data visualizationvaderSentiment – for rule-based sentiment scoringInstall all dependencies using the following command:
pip install pandas nltk textblob seaborn matplotlib vaderSentiment
You may also need to download NLTK corpora:
import nltk nltk.download('all')
Once the environment is set up, you can:
The analysis reveals valuable insights into customer perceptions of Adidas and Nike. Key takeaways include:
These results can inform marketing strategies, product development, and customer engagement practices for fashion retailers.
Contributions to this project are welcome! If you have suggestions for additional features, improvements in NLP modeling, or ideas for visualization enhancements, feel free to open a pull request or submit an issue.
This project is open-source and available under the MIT License. Feel free to use and adapt it with attribution.