Well, then I'd need some help with that... Again, it's easy with single search keywords, but I haven't found a solution for combined searches like twitter+stream or photo+Paris... because I would have to compare each combination of tokens in the tweet...
Can someone give more details. I am not sure why I'd still need to match the keywords on my side either... if you cna tell me which ones it matches. Thanks, On Dec 3, 9:05 am, Dave Sherohman <d...@fishtwits.com> wrote: > On Wed, Dec 02, 2009 at 03:15:21PM -0800, Julien wrote: > > If I get a tweet, the only way to know what keyword it matches is to > > compare all of its words to the words I'm tracking... (mayvbe there is > > something easier). > > > That's quite "hard" but it becomes harder if I add operands. Say I > > have a search "romeo+juliet". When I get a tweet, I need to compare it > > to all the keywords, plus all the combinations :/ Technically that is > > not even doable if i have more than 10 keywords, since there are a LOT > > of combinations possible. > > You are mistaken. Provided you have appropriate support from your > language or its libraries, accomplishing this is trivial. Using Perl > and Regexp::Assemble, FishTwits is currently tracking 1,358 words/ > phrases and, for each tweet, building a list of which words/phrases > appear in that tweet. It's very doable (quick, even), despite having > far more than 10 keywords involved. > > -- > Dave Sherohman