Text this: Machine-learning models for predicting drug approvals and clinical-phase transitions