question 1 - columbia universitymcollins/week13s.pdfquestion 1 g 1(x;h;m) = 1 if x h = car and x m =...

4
Question 1 g 1 (x, h, m) = 1 if x h = car and x m = the g 2 (x, h, m) = 1 if POS (h)= NN and POS (m)= DT and POS (i) 6= VB for i ∈{(h + 1) ... (m - 1)} and i ∈{(m + 1) ... (h - 1)}

Upload: others

Post on 17-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Question 1 - Columbia Universitymcollins/week13s.pdfQuestion 1 g 1(x;h;m) = 1 if x h = car and x m = the g 2(x;h;m) = 1 if POS(h) = NN and POS(m) = DT and POS(i) 6=VB for i 2f(h+1):::(m

Question 1

g1(x, h,m) = 1 if xh = car and xm = the

g2(x, h,m) = 1 if POS(h) = NN and POS(m) = DT

and POS(i) 6= VB for i ∈ {(h+ 1) . . . (m− 1)}and i ∈ {(m+ 1) . . . (h− 1)}

Page 2: Question 1 - Columbia Universitymcollins/week13s.pdfQuestion 1 g 1(x;h;m) = 1 if x h = car and x m = the g 2(x;h;m) = 1 if POS(h) = NN and POS(m) = DT and POS(i) 6=VB for i 2f(h+1):::(m

Question 2a

Page 3: Question 1 - Columbia Universitymcollins/week13s.pdfQuestion 1 g 1(x;h;m) = 1 if x h = car and x m = the g 2(x;h;m) = 1 if POS(h) = NN and POS(m) = DT and POS(i) 6=VB for i 2f(h+1):::(m

Question 2a

C→

I→

C→

0.2

C←

C←

1.1

I←

C→

1.2

C←

2.1

C→

I→

C→

2.2

C←

3.1

C→

3.2

Page 4: Question 1 - Columbia Universitymcollins/week13s.pdfQuestion 1 g 1(x;h;m) = 1 if x h = car and x m = the g 2(x;h;m) = 1 if POS(h) = NN and POS(m) = DT and POS(i) 6=VB for i 2f(h+1):::(m

Question 3

I C(the) = 1, C(dog) = 2

I e(the|1) = e(dog|2) = 1

I q(1|2) = q(2|1) = 1