Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(10 points) Given the simple English CFG below, complete the chart parse below to show two parses for the ambiguous sentence: Hershey bars protest 0
(10 points) Given the simple English CFG below, complete the chart parse below to show two parses for the ambiguous sentence: Hershey bars protest 0 2 G={ S NP VP NP N | AttrNP N Hershey | bars | protest AttrN P N N V bars l protest The parts to complete are shown by the ellipses: 1.d - 1.f, and all of rows 2 and 3. One meaning is that a person named Hershey denies permission for a protest event. Another is that there is a protest event staged by the type of candy called Hershey bars. Note that bars and protest could be either a N or a V (for noun or verb). AttrNP comes from the way English can form noun phrases by using nouns to modify other nouns. A few examples are "race car," "window dressing," and "cartoon character." The modifying nouns are called "attributive nouns
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started