Add function to train classifier from corpus and a category list.