A plugin to do sentiment analysis of reviews in ecommerce website.
##Running Development instance ####Plugin
- The plugin code can be found here
- Clone the repo to your local machine.
- Go to
chrome://extensions
in your google chrome browser. - Check the
Developer mode
checkbox. - Click on
load unpacked extension
and browse to the plugin folder.
####Flask
- Install the requirements
- Run the run.py module. This will start your flask server.
####Sentiment
- Download the stanford corenlp module from here
- Unzip it and place it in analyzer.
- Execute
export _JAVA_OPTIONS="-Xmx1024M"
in terminal. - Run corenlp.py module.
- This will start your
json-rpc
server.
####Database
- Make changes to
user
andpass
in SQLALCHEMY_DATABASE_URI - Create a postgres database named
opinator
- Grant all privileges to the user to this database
- Run createdb.py
####Contributors