Text this: A general approach to reasoning with probabilities.