A simple classifier using NLTK