1
0
Fork 0
Shows how people on twitter are feeling, in real-time.
Datei suchen
Abhinav Sarkar f8a12ec76a added comments; some refactoring/reformatting 2010-11-04 10:52:12 +05:30
resources/clj_twitter_feelings some refactoring 2010-09-02 20:19:31 +05:30
src/clj_twitter_feelings added comments; some refactoring/reformatting 2010-11-04 10:52:12 +05:30
.gitignore First commit. Got everything working 2010-09-02 00:44:54 +05:30
README.md corrected README 2010-09-02 01:50:40 +05:30
project.clj First commit. Got everything working 2010-09-02 00:44:54 +05:30

README.md

clj-twitter-feelings

Shows how people on twitter are feeling, in real-time. Meant to be an example of a swing app in Clojure.

Screenshot

Usage

Download the standalone jar and run it like:

java -jar clj-twitter-feelings-1.0.0-standalone.jar

Or checkout the source and

build using leiningen and run using Java:

git clone git://github.com/abhin4v/clj_twitter_feelings.git clj_twitter_feelings
cd clj_twitter_feelings
lein deps && lein uberjar
java -jar target/clj-twitter-feelings-1.0.0-standalone.jar

OR run using leiningen-run plugin:

git clone git://github.com/abhin4v/clj_twitter_feelings.git clj_twitter_feelings
cd clj_twitter_feelings
lein deps && lein run

How it works

  • Access the twitter sample tweet stream (the users need to input their twitter credentials for accessing the stream)
  • Find the feeling related adjectives in each tweet's status text and lookup their type (Positive, Neutral, Negative) against the included list of adjectives in text files
  • Keep the count of the adjective types in a sliding window of tweets
  • Show the count on the UI

License

Copyright (C) 2010 Abhinav Sarkar <abhinav@abhinavsarkar.net>

Distributed under the Eclipse Public License, the same as Clojure.