Text this: Prediction and optimal decision :