Generative and Discriminative Text Classification with Recurrent Neural Networks