Problem One |
  |
For this exercise you will use this partial PCFG:
Fill out the rest of this chart
|
||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Problem Two |
  |
Modify your version of a CKY recognizer to compute the probability of the most probable parse, using the probabilistic CKY algorithm of Chapter 14 (Ney 1991). Here is the pseudocode: You will want to use the Python implementation of a CKY parser gievn in the online Parser writing help notes.. Check your answer on the PCFG above using the probability calculations you did in Problem One. |