Skip to content

hrbn/british-airways-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

British Airways Customer Reviews Analysis

Project Overview

This project analyzes online reviews from British Airways customers on Skytrax using Natural Language Processing (NLP) and topic modeling. The goal is to discover recurring themes and sentiments to inform decision-making in customer service and product development.

Installation

To set up the project, clone the repository and install the required packages:

git clone https://github.com/hrbn/british-airways-reviews.git
cd british-airways-reviews
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

Usage

Scraping Customer Review Data

The dataset is scraped from Skytrax. To run the scraper:

python scraper/scrape_reviews.py

To pseudonymize customer names in the dataset:

python scraper/pseudonymize.py

Data Analysis Notebooks

Run the following Jupyter notebooks sequentially to perform the analysis:

  1. british_airways_1_clean.ipynb: Data cleaning and preprocessing
  2. british_airways_2_nlp.ipynb: NLP text analysis and feature extraction
  3. british_airways_3_topic_model.ipynb: Topic modeling using BERTopic