Re: Using stream summary to get top k for a twitter stream ?

79 views
Skip to first unread message

Matt Abrams

unread,
Apr 23, 2013, 2:22:10 PM4/23/13
to stream-...@googlegroups.com
Soumya -

Yes, you can use stream-lib to help with this.  The StreamSummary class is probably your best place to start.  You will likely want to remove stop words and stem the results as well but that is outside the scope of stream lib.  The TestStreamSummary class provides some examples on how to use it.

Matt


On Tue, Apr 23, 2013 at 1:03 PM, Soumya Simanta <soumya....@gmail.com> wrote:
I'm new to this library as well as this concept in general. 
Here is my use case - I've a twitter stream (Tweets that are pushed by Twitter). Can I use stream-lib to keep track of the top-k words that occur in the tweets in a given window? 
If yes, can someone point to me where I should start. 

Thanks. 

--
You received this message because you are subscribed to the Google Groups "stream-lib-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stream-lib-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages