Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

=+development and make the product, should you go ahead and do so?

Answered: 1 week ago