clj_twitter_feelings/README.md

43 lines
1.3 KiB
Markdown
Raw Normal View History

2010-09-02 00:56:19 +05:30
# clj-twitter-feelings
Shows how people on twitter are feeling, in real-time.
Meant to be an example of a swing app in Clojure.
## Usage
2010-09-02 01:08:56 +05:30
Download [the standalone jar][1] and run it like:
2010-09-02 00:56:19 +05:30
java -jar clj-twitter-feelings-1.0.0-standalone.jar
2010-09-02 01:08:56 +05:30
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
2010-09-02 00:56:19 +05:30
## How it works
2010-09-02 01:08:56 +05:30
* 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
2010-09-02 00:56:19 +05:30
* Show the count on the UI
2010-09-02 01:08:56 +05:30
2010-09-02 00:56:19 +05:30
## License
2010-09-02 01:08:56 +05:30
Copyright (C) 2010 Abhinav Sarkar <abhinav@abhinavsarkar.net>
2010-09-02 00:56:19 +05:30
Distributed under the Eclipse Public License, the same as Clojure.
2010-09-02 01:08:56 +05:30
[1] http://github.com/downloads/abhin4v/clj_twitter_feelings/clj-twitter-feelings-1.0.0-standalone.jar