Giter Club home page Giter Club logo

nlp_sentiment_analysis's Introduction

An NLP Sentiment Analysis using Restaurant Reviews

This repository includes an NLP Project about analyzing the restaurant reviews obtained from Yelp.

Introduction

Problem Definition:

  • What are the parameters that most affect the positive/negative evaluation of customers?
  • How have the factors affecting positive/negative evaluations changed over time?

Solution Recommendation:

  • Performing a sentiment analysis using the NLP method on review datas from Yelp.

Objective:

  • Finding words that positively/negatively influence customer reviews.
  • Comparing the results obtained from the NLP method with the comments made in 2007 with the comments made in 2017.

Dataset

Webpage: https://www.yelp.com/dataset

YELP_LOGO

Methodology

  • The Python NLP libraries, and data storages for MongoDB.

MONGODB

  • The dataset used includes only the English language comments in 2007 and 2017.

DATASET

  • Performing various editing and cleaning operations on the data.

  • Performing exploratory data analysis on the cleaned data.

  • Performing Count Vectorizer method for detecting the most frequent words in reviews.

Results

Results for Positive Sentiment

  • In 2007, customers especially paid attention to the taste of the foods for positive voting.
  • But in 2017, customers especially paid attention to the quality of customer services for positive voting. POSITIVE_SENTIMENT

Results for Negative Sentiment

  • In 2007, customers especially paid attention to having non-smoking rooms and service time for negative voting.
  • But in 2017, customers especially paid attention again to the quality of customer services for negative voting. NEGATIVE_SENTIMENT

Results for Neutral Sentiment

  • For the neutral sentiment, compared to the previous 2 sentiments, clear results were not found.
  • It contains both positive and negative reviews. NEUTRAL_SENTIMENT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.