Bayes Theorem on function words