Question: Show that the hare runs the sleepy tortoise is not a valid sentence. The grammar with start symbol sentence, set of terminals T = {the,
Show that the hare runs the sleepy tortoise is not a valid sentence.
The grammar with start symbol sentence, set of terminals T = {the, sleepy, happy, tortoise, hare, passes, runs, quickly, slowly}, set of nonterminals N = {noun phrase, transitive verb phrase, intransitive verb phrase, article, adjective, noun, verb, adverb}, and productions:
Adjective sleepy
Adjective happy
Noun tortoise
Noun hare
Transitive verb passes
Intransitive verb runs
Adverb quickly
Adverb slowly
sentencenoun phrase transitive verb phrase noun phrase
Step by Step Solution
3.58 Rating (159 Votes )
There are 3 Steps involved in it
Since runs is only an intransitive verb it can on... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
923-M-C-M-S (2650).docx
120 KBs Word File
