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 ? supermarket

Which of the following three grammars combined with the lexicon, generates the given sentence? Show the corresponding parse tree(s).

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.

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Artificial Intelligence A Modern Approach

ISBN: 978-0137903955

2nd Edition

Authors: Stuart J. Russell and Peter Norvig

Question Posted: