Explore BrainMass
Share

CFG(context free grammar)

1. Consider the CFG for "some English". Show how that CFG can generate the sentence:
Itchy the bear hugs jumpy the dog

2. Change the productions so that an article cannot come between an adjective and its noun.

© BrainMass Inc. brainmass.com June 25, 2018, 6:14 am ad1c9bdddf

Solution Preview

Please see the attachment for solution.

Consider the following grammar with S being the start symbol and A,B,C,D, and V are non-terminals, whose ...

Solution Summary

Context free grammar is examined. The change production has on articles are determined.

$2.19