I built this in 24 hours to test that I could do it. The code was not meant to be pretty, it wasn't meant to be reusable. It was made as a "hack".
I use hacker not to portray myself as a systems-infiltrator but in the sense of hackathons and building things quickly and roughly.
If this was meant to be a finished project of course the code would be much cleaner, however the class does the job and that was what I intended to build with this, a POC.
What do you think is a good minimum threshold for number of tweets for this to be interesting?
Hm it depends how much the user tweets about these topics, if at all. I'd probably say ~5k and you'd start getting decent results.