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://extensionsin your google chrome browser. - Check the
Developer modecheckbox. - Click on
load unpacked extensionand 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-rpcserver.
####Database
- Make changes to
userandpassin SQLALCHEMY_DATABASE_URI - Create a postgres database named
opinator - Grant all privileges to the user to this database
- Run createdb.py
####Contributors