Bayesian Extension to the Language Model