Text this: Prediction-based resource allocation model for real time tasks