Consider the following PCFG for simple verb phrases: 0.1 : V P Verb 0.2 : V
Question:
Consider the following PCFG for simple verb phrases:
0.1 : V P → Verb
0.2 : V P → Copula Adjective
0.5 : V P → Verb the Noun
0.2 : V P → V P Adverb
0.5 : Verb → is
0.5 : Verb → shoots
0.8 : Copula → is
0.2 : Copula → seems
0.5 : Adjective → unwell
0.5 : Adjective → well
0.5 : Adverb → well
0.5 : Adverb → badly
0.6 : Noun → duck
0.4 : Noun → well
a. Which of the following have a nonzero probability as a VP? (i) shoots the duck well well well (ii) seems the well well (iii) shoots the unwell well badly
b. What is the probability of generating “is well well”?
c. What types of ambiguity are exhibited by the phrase in (b)?
d. Given any PCFG, is it possible to calculate the probability that the PCFG generates a string of exactly 10 words?
Step by Step Answer:
Artificial Intelligence A Modern Approach
ISBN: 9780134610993
4th Edition
Authors: Stuart Russell, Peter Norvig