AI in the Writers' Room: Using Machine Learning to Unpack Authorial Intent and Creative Choices