Learning Features for Text Classification