Text this: Prediction Technologies and Optimal Loss Prevention