Regina Barzilay has done some work in this area; I posted slides from a great talk she gave years back a few years ago. The slides seem to be gone and not on Internet Archive sadly...
https://news.ycombinator.com/item?id=20019355
This Twitter thread also has a lot of good stuff.
https://twitter.com/maite_taboada/status/1086415051127308288