Python code for detecting topics/events from a Twitter stream