Question: (i) Consider the CFG for some English given in this chapter. Show how these productions can generate the sentence Itchy the bear hugs jumpy the

(i) Consider the CFG for "some English" given in this chapter. Show how these productions can generate the sentence

Itchy the bear hugs jumpy the dog.

(ii) Change the productions so that an article cannot come between an adjective and its noun.
(iii) Show how in the CFG for "some English" we can generate the sentence

The the the cat follows cat.

(iv) Change the productions again so that the same noun cannot have more than one article.

Step by Step Solution

3.52 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

i The CFG for some English generates the sentence Itchy the bear hugs jumpy the dog as follows S NP ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related SQL Database Programming Questions!