A Text Classifier and Random Text Generator