Skip to content

pixielabs/trend-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trends-sentiment-analysis

Setup

You will need access to the project over on the Google Cloud Platform, and a key for the service account in json format. To get this, head to https://console.cloud.google.com, navigate to the project folder and then go to APIs -> Credentials -> Create credentials -> Service account key. Select 'ml-app' and save the key locally.

Next install direnv, for automatically loading the environment when you navigate to the project folder.

brew install direnv

Follow the setup instructions over at https://direnv.net/ to configure direnv to work with your shell. Once this is done create a .envrc file, copying over from .envrc.sample and adding the necessary information. Run direnv allow to give direnv permission to load your environment.

Finally you can install dependencies:

pip install -r requirements.txt

To run the app:

python3 app.py

About

Sentiment analysis with BigQuery and Google Cloud Natural Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published