Skip to content

vmandke/tweet_words

 
 

Repository files navigation

Sentiment Analysis

  • To run this application, you need to have mongoDB installed

  • You also need to create a twitter application at https://dev.twitter.com and copy the information to a new file called app.properties as below.

  • Create file app.properties in runner folder with credentials before executing with following keys.

CONSUMER_KEY=

CONSUMER_SECRET=

ACCESS_TOKEN=

ACCESS_TOKEN_SECRET=

MONGO=mongodb://

  • You don't need to specify the database name in the MONGO url. The application uses the database name "test" for now.

  • Go to the classifier_train directory and create the classifier.gob file as per the instructions in the README file. Copy the classifier.gob to the runner directory

  • Also make sure to update your callback url in Twitter App setting, as http://127.0.0.1:8080

  • After you have app.properties and classifier.gob ready. You can execute the application by doing a

cd runner
go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 68.7%
  • HTML 31.3%