added more info in README

master
Abhinav Sarkar 2010-09-02 01:08:56 +05:30
parent 1fc35c8276
commit d0b55ab447
1 changed files with 26 additions and 7 deletions

View File

@ -5,20 +5,39 @@ Meant to be an example of a swing app in Clojure.
## Usage ## Usage
Download the standalone jar and run it like: Download [the standalone jar][1] and run it like:
java -jar clj-twitter-feelings-1.0.0-standalone.jar 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 ## How it works
* Access the twitter sample tweet stream * Access the twitter sample tweet stream (the users need to input their twitter
* Find the feeling related adjectives in the tweet status and find their type credentials for accessing the stream)
(Positive, Neutral, Negative) * Find the feeling related adjectives in each tweet's status text and lookup
* Keep the count of the adjective types in a sliding windows of tweets 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 * Show the count on the UI
## License ## License
Copyright (C) 2010 Abhinav Sarkar <abhinav@abhinavsarkar.net> Copyright (C) 2010 Abhinav Sarkar &lt;abhinav@abhinavsarkar.net&gt;
Distributed under the Eclipse Public License, the same as Clojure. Distributed under the Eclipse Public License, the same as Clojure.
[1] http://github.com/downloads/abhin4v/clj_twitter_feelings/clj-twitter-feelings-1.0.0-standalone.jar