Text Classifier

See comments in file.