Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 (25 Points): Suppose you are given the following data: he likes to sleep he likes to eat he likes to eat and sleep
Problem 2 (25 Points): Suppose you are given the following data: he likes to sleep he likes to eat he likes to eat and sleep and eat the thing he likes to eat is mint the mint he likes to eat is pink (a) (10 Points) Compute the probability that would be assigned to the string " to sleep and eat )" by a bigram language model with no smoothing. Don't consider the start and end sentence symbols. Just use the unigram of the first word to start. (b) (15 Points) Compute the probability that would be assigned to the string" to sleep and eat " by a bigram language model with linear interpolation for smoothing (with the bigram weight l set to 0.8 and the unigram weight 22 set to 0.2). Since the unigram model does not need to estimate P(>), ignore the start token when estimating the unigram model. Problem 2 (25 Points): Suppose you are given the following data: he likes to sleep he likes to eat he likes to eat and sleep and eat the thing he likes to eat is mint the mint he likes to eat is pink (a) (10 Points) Compute the probability that would be assigned to the string " to sleep and eat )" by a bigram language model with no smoothing. Don't consider the start and end sentence symbols. Just use the unigram of the first word to start. (b) (15 Points) Compute the probability that would be assigned to the string" to sleep and eat " by a bigram language model with linear interpolation for smoothing (with the bigram weight l set to 0.8 and the unigram weight 22 set to 0.2). Since the unigram model does not need to estimate P(>), ignore the start token when estimating the unigram model
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started