tbielawa/py-prtstat — comment on commit 9c932ee45f1857422779321cdf47a412bf8f3049
File:  line 0
By kelcecil:

First regarding the words, One possibility is to provide a text file with bad words. Stem each bad word and compare against each stemmed tweet (you'd hopefully be able to get more variations on words as opposed to a grep.)

Second regarding your time window. I'd be afraid that five minutes could potentially cause your analysis to starve itself of data. Seems to be that 5 minutes might be too small of a window (unless you have enough people posting on Twitter about it at once.) I would be afraid that maybe one geek (or even just the WVUDOT twitter) posts and someone arriving at the PRT station six minutes later would post and be outside the window for the analysis to pick it up. I think 20-30 minutes is more optimal. I'd be interested to hear other thoughts on this.

Is there an available statistic on the average amount of time the PRT is down for at a time? I'm not always down, but when I am, I'm down for xx minutes. I think that'd be an optimal number if it's available.