Text this: Satisfying Safety Goals by Probabilistic Risk Assessment