Text this: Bayesian methods in cosmology