Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2. Let us suppose that there are two possible symbols/ words in our language, a and b. There are three conditional distributions in the

image text in transcribed
Problem 2. Let us suppose that there are two possible symbols/ words in our language, a and b. There are three conditional distributions in the bigram model for this language, Pr(W(i)IW('_1) = o),Pr[W(i)|W(i_1) = b), and Pr(W(")IW{'__1) = start}, where start is the start symbol which begins any sentence. These conditional distributions are associated with the parameter vectors 9,], 195, and 35mm respectively (these parameter vectors were imphcit in the previous problem). For the current problem, we will assume that these parameters are xed. Suppose that we are given a sentence W\"), ...,W\"']. We will use the notation 11:4,, to denote the number of times that the symbol 3; occurs immediately following the symbol a? in the sentence. For example, ung counts the number of times that symbol (1 occurs immediately following the symbol a. Using Equation 1, give an expression for the probability of a sentence in our language: PT(W(I]1"'1W(k)lsar55stnrt) (2) The expression should make use of the fix)3; notation dened above. (Hint: the expres- sion should be analogous to the formula that we found for the likelihood of a corpus under a bag of words 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_2

Step: 3

blur-text-image_3

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

Algebra Foundations Prealgebra, Algebra & Intermediate Algebra (subscription)

Authors: Elayn Martin Gay

2nd Edition

0135257506, 9780135257500

More Books

Students also viewed these Mathematics questions

Question

c. What is the persons contact information?

Answered: 1 week ago

Question

1. What will happen in the future

Answered: 1 week ago

Question

3. Avoid making mistakes when reaching our goals

Answered: 1 week ago