 The automaton itself has a probability distribution over the entire vocabulary of the model, summing to 1.The following is an illustration of a unigram model of a document.The probability generated for a specific query is calculated as

Different documents have unigram models, with different hit probabilities of words in it.