This project aims to perform sentiment analysis on Amazon product reviews to extract valuable insights regarding customer opinions and satisfaction levels.
To set up the project environment, follow these steps:
- Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/your-username/Amazon-Review-Sentiment-Analysis.git- Navigate to the Project Directory: Use the
cdcommand to navigate into the project directory:
cd Amazon-Review-Sentiment-Analysis`- Create a Virtual Environment: Create a virtual environment to isolate project dependencies. Depending on your operating system, use one of the following commands:
- On macOS/Linux:
python3 -m venv venv - On Windows:
python -m venv venv
- Activate the Virtual Environment: Activate the virtual environment using the appropriate command:
- On macOS/Linux:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- Install Dependencies: Install the required Python dependencies using pip:
pip install -r requirements.txt`- Connect to reviewNB (Optional): Connect GitHub account to ReviewNB to help see changes between commits rather than the packaged json changes.
The link to the dataset from 2018.
Steps to download datset:
- Navigate to the website and scroll down to the
Filescategory. - In the
Per-category datasection, download the 'Amazon Fashion' reviews dataset (the one with 883,636 reviews). - Once downloaded, paste the .gz file into the
datadirectory.