Renaming to NLTK class names. Renamed some variables to cut down line width.