Consider the sentence Someone walked slowly to the supermarket and the following lexicon: Pronoun -+ someone V
Question:
Consider the sentence "Someone walked slowly to the supermarket" and the following lexicon:
Pronoun -+ someone V -+ walked Adv -+ slowly Prep + to Det -+ the Noun -t supermarket Which of the following three grammars, combined with the lexicon, generates the given sentence?
Show the corresponding parse tree(s).
(A): (B): (C>:
S -t NP VP S -+ NP VP S -+ NP VP NP -+ Pronoun NP -+ Pronoun NP -+ Pronoun NP -+ Article Noun NP -+ Noun NP -+ Article NP VP -+ VP PP NP -+ Article NP VP -+ Verb Adv VP -+ VP Adv Adv VP t Verb Vmod Adv -+ Adv Adv VP -+ Verb Vmod + Adv Vmod Adv -+ PP PP -t Prep NP Vmod i Adv PP -+ Prep NP NP -+ Noun Adv -t PP NP + Noun PP -+ Prep NP For each of the preceding three grammars, write down three sentences of English and three sentences of non-English generated by the grammar. Each sentence should be significantly different, should be at least six words long, and should be based on an entirely new set of lexical entries (which you should define). Suggest ways to improve each grammar to avoid generating the non-English sentences.
Step by Step Answer:
Artificial Intelligence: A Modern Approach
ISBN: 9780137903955
2nd Edition
Authors: Stuart Russell, Peter Norvig