Causal Inference on Outcomes Learned from Text