Learning to Write History