Tag Parts of Speech to a Sentence using Bayes Net and Sampling