The Following is a general presentaion of our project
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
-
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
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.
-
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.
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.
-
Clone the repo
git clone https://github.com/firas122/SentimentAnalysis
-
Install pip packages
pip install -r requirements.txt
-
Run the API using command above :
python /project_directory_path/sentiment analysis/api.py
-
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 variablesDB_url
which contains the url to your mongo database andoffer_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:
Shopium - @Shopium - shopium.local@gmail.com
Project Link: https://github.com/firas122/SentimentAnalysis