A machine-learning system for summarizing fiction and writing new stories