Question: ( Exercise 3 . 4 & 3 . 7 of chapter 3 of SLP book ) Given the following corpus: I a m Sam Sam
Exercise & of chapter of SLP book Given the following corpus:
I Sam
Sam I
Sam I like
Sam I like
I like Sam
a Using a bigram language model with addone smoothing, what is
Include in your counts just like any other token
b If we use linear interpolation smoothing between a maximumlikelihood bigram
model and a maximumlikelihood unigram model with and what is
Include in your counts just like any other token.
c Which of the following sentences gets a higher probability with this model?
I Sam
Sam I
d What is the perplexity of this model if evaluated on a toy test dataset that contains
only one sentence?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
