Introduction to Bayesian statistics applied to linguistics