ktisha/tweet-spirit — pull request #1 by Shkryob (2013-07-10 19:35:18+00:00)
Title: NLTK classification

I added classification to positive or negative throw NLTK NaiveBayesClassifier. I used this article http://streamhacker.com/2010/05/10/text-classification-sentiment-analysis-naive-bayes-classifier/

It is very slow.

To make it work you need to install nltk:
pip install nltk
And download corpora for training classifier
python -m nltk.downloader movie_reviews

I hope this is useful.