Docsity

Ling 420 Assignment 8: Augmenting Parsing Program with Multiple Probabilities, Assignments of Linguistics

Toggle sidebar
bg1
Assignment 8
Ling 420
Due Tuesday, April 10
1. Take your program from the last homework and augment it in the following
ways:
(a) Using the head rules handed out in class (and available in Appendix A
of http://people.csail.mit.edu/mcollins/papers/thesis.ps),
write a function which takes a rule and returns the head, the daugh-
ters to the left of the head, and the daughters to the right of the
head.
•You can modify exactly what is returned, based on what fits in
best with your overall program.
(b) Instead of storing a single probability for each rule, store 3 different
probabilities:
•P(H|LHS, h), where h= head word, H= category of head word
•P(Ri|LHS, h, H ), for each right daughter Ri
•P(Li|LHS, h, H ), for each left daughter Li
Don’t worry about a distance measure or handling subcategorization
here.
(c) If time: Assign new probability scores to the sentences, as before.

Partial preview of the text

Download Ling 420 Assignment 8: Augmenting Parsing Program with Multiple Probabilities and more Assignments Linguistics in PDF only on Docsity!

Assignment 8

Ling 420

Due Tuesday, April 10

  1. Take your program from the last homework and augment it in the following ways:

(a) Using the head rules handed out in class (and available in Appendix A of http://people.csail.mit.edu/mcollins/papers/thesis.ps), write a function which takes a rule and returns the head, the daugh- ters to the left of the head, and the daughters to the right of the head.

  • You can modify exactly what is returned, based on what fits in best with your overall program. (b) Instead of storing a single probability for each rule, store 3 different probabilities:
  • P (H|LHS, h), where h = head word, H = category of head word
  • P (Ri|LHS, h, H), for each right daughter Ri
  • P (Li|LHS, h, H), for each left daughter Li Don’t worry about a distance measure or handling subcategorization here. (c) If time: Assign new probability scores to the sentences, as before.