Learning to write expository paragraphs