machine learning in storytelling