Give a large book from Project Gutenberg (e.g., The Count of Monte Cristo). Train a network to predict network trained to predict the next textual character given a sequence of characters. Such network can be used to generate text by sampling a character