Learning Sparse Prototypes for Text Generation