Teaching robots to literature