Given a sentence S="w1 w2 w3 … wn", to compute the likelihood of S using a bigram model. How would you compute the likelihood of S?
A. Calculate the conditional probability of each word in the sentence given the preceding word and add the resulting numbers
B. Calculate the conditional probability of each word in the sentence given the preceding word and multiply the resulting numbers
C. Calculate the conditional probability of each word given all preceding words in a sentence and add the resulting numbers
D. Calculate the conditional probability of each word given all preceding words in a sentence and multiply the resulting numbers
Answer:B
Given a sentence S="w1 w2 w3 … wn", to compute the likelihood of S using a bigram model. How would you compute the likelihood of S?
A. Calculate the conditional probability of each word in the sentence given the preceding word and add the resulting numbers B. Calculate the conditional probability of each word in the sentence given the preceding word and multiply the resulting numbers C. Calculate the conditional probability of each word given all preceding words in a sentence and add the resulting numbers D. Calculate the conditional probability of each word given all preceding words in a sentence and multiply the resulting numbers