Question: Problem 1 Section 2 3 . 2 Consider the following simple PCFG for noun phrases: 0 : 6 : NP ! Det AdjString Noun 0
Problem Section
Consider the following simple PCFG for noun phrases:
: : NP Det AdjString Noun
: : NP Det NounNounCompound
: : AdjString Adj AdjString
: : AdjString
: : NounNounCompound Noun Noun
: : Det the
: : Det a
: : Adj small
: : Adj green
: : Noun village
: : Noun green
where denotes the empty string.
a What is the longest NP that can be generated by this grammar? i three words ii
four words iii infinitely many words
b Which of the following have a nonzero probability of being generated as complete NPs
i a small green village ii a green green green iii a small village green
c What is the probability of generating the green green
d What types of ambiguity are exhibited by the phrase in c
e Given any PCFG and any finite word sequence, is it possible to calculate the probability that the sequence was generated by the PCFG
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
