Skip to content

AmirMotefaker/Web-Scraping-and-Sentiment-Analysis

Repository files navigation

Web Scraping and Sentiment Analysis of TripAdvisor using R

Hints

  • Web scraper to get live hotel reviews from TripAdvisor website
  • Data cleaning by removing stop words, punctuation marks, special characters, numbers, and white spaces from reviews, preprocessing
  • Tokenization and rooting of reviews and building a collection of it
  • Calculate the sentiment score of each comment by comparing its signs with positive and negative words and the hotel's overall sentiment score depending on the number of positive and negative comments it has received.
  • Data visualization of results using bar graphs and box plots

Releases

No releases published

Packages

No packages published