Text this: Success probability estimation with applications to clinical trials