Question: Suppose we train a trigram language model with add-one smoothing on a given corpus. The corpus contains V word types. Express a formula for
Suppose we train a trigram language model with add-one smoothing on a given corpus. The corpus contains V word types. Express a formula for esti- mating P(w3 w1,w2), where w3 is a word which follows the bigram (w1,w2) in terms of various N-gram counts and V. Use the notation c(w1,w2,w3) to denote the number of times that trigram (w1,w2,w3) occurs in the corpus, and so on for bigrams and unigrams
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
To estimate Pw3 mid w1 w2 using a trigram language model with addone smoothin... View full answer
Get step-by-step solutions from verified subject matter experts
