Logo

Shopium Reviews Sentiment Analysis

The Following is a general presentaion of our project
Explore the docs »

View Demo · Report Bug · Request Feature




Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

  • Shopium Reviews Sentiment Analysis is a python API developped for Shopium for a more accurate recommendation system.

  • This module is being developped based Vader using Python to perform an opinion mining concerning certain offers.

  • This project was designed to run on Shopium's fake database generated by Shopium Faker

  • This project was developed to support Shopium's Shopium Customer Behavior Prediction project to obtain solid recommendations

(back to top)

Built With

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

(back to top)

Getting Started

  • This project was designed to analyze each review made on a certain offer to calculate a sentiment polarity score (positive,negative,neutral).

  • A general polarity scores is assigned to each offer by calculating the average of scores on different reviews.

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo

    git clone https://github.com/firas122/SentimentAnalysis 
  2. Install pip packages

    pip install -r requirements.txt
  3. Run the API using command above :

    python /project_directory_path/sentiment analysis/api.py

(back to top)


Usage


  • Terminal output will include an url by default 127.0.0.1 (localhost) running on port 3000 using the path /analyze

  • Send a POST request to that url with two variables DB_url which contains the url to your mongo database and offer_id that represents the offer we want to analyze it's reviews .

  • And the returning JSON Object should include an array contains reviews made on offer with each one scores and an average score for the whole offer:

Contact

Shopium - @Shopium - shopium.local@gmail.com

Project Link: https://github.com/firas122/SentimentAnalysis

(back to top)