Text this: Data-driven Generation of Policies