I'm trying to do some twitter word analysis in processing, which involves comparing tweets against hundreds of words. I have all the tweets loaded into an arraylist, and am currently using .contains to search for particular words in the tweets.
Only the way I have it right now, I'm creating a new if statement for each word which is obviously very impractical. I'm trying to use contains to search an different array, but it's not really working. Processing isn't finding a bug, it just doesn't react at all.
Here's my code (I cut out the unrelated stuff, so don't worry about the missing setup, etc.) Thanks!: