Skip to content

kongeor/jsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clojure sentiment analysis

A clojure utility that fetches tweets, analyzes them using Vader and inserts the data into sqlite databases.

Usage

Register your twitter application as described here.

Building

Make sure Leiningen is installed.

Then just:

lein uberjar

see below how to execute the utility using the produced jar.

Running using Leiningen

Create a profiles.clj file:

cp profiles.clj.example profiles.clj

and set your twitter app key and secret this file.

Run

lein run clojurescript,thewitcher

Uber run

If you don't want to build and/or install Leiningen, just grab a prebuilt jar from releases.

java -DTWITTER_APP_KEY=xxx -DTWITTER_APP_SECRET=xxx -jar target/jsa-0.X-X-standalone.jar clojurescript,thewitcher

Data

The produced data will be stored in sqlite databases - each hashtag will get its own database - put in a db folder.

License

Copyright © 2019 Kostas Georgiadis

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published