# (solution) Consider the sentence "Someone walked slowly to the supermarket" and the following set of

Consider the sentence “Someone walked slowly to the supermarket” and the following set of context-free rewrite rules which give the grammatical categories of the words of the sentence: Pronoun V Prep Det Noun Which of the following three sets of rewrite rules, when added to the preceding rules, yield context-free grammars that can generate the above sentence?(A): S VP NP NP Noun VP—V PP NP NP S VP S VP NP NP NP NP NP NP NP VP VP—V Adv Adv Vmod Adv Vmod PP NP Adv NP PP NP Write down at least one other English sentence generated by Grammar (B). It should be signifi- cantly different from the above sentence, and should be at least six words long. Do not use any of the words from the preceding sentence; instead, add grammatical rules of your own, for instance, Noun bottle. Show the parse tree for your sentence.