Corrections to NLTK code, old Django examples from class