a) The sentence "the dogs chases the cat" is not considered grammatical according to English but is accepted by the grammar in PART 2. List two other sentences that are accepted by the grammar from PART 2 but are not considered grammatical in English. b) Why does the new grammar in PART 2 allow sentences from (a) instead of deeming them to be ungrammatical? c) Add new phrase rules to your grammar to address (b). Your new grammar should accept sentences like "the dog chases the cat" while rejecting sentences like "the dogs chases the cat"
Consider the following two parts:
PART 1:
Consider the following PSG G.
*Attached Image*
PART 2:
Then, we modified the grammar by adding the following words to the lexicon: dogs, cats, chase, where we added only the appropriate lexical rules to our grammar to handle the new words. The following new grammar should now accept all of the sentences accepted by G in addition to others.
New Grammar:
*Attached Image*
a) The sentence "the dogs chases the cat" is not considered grammatical according to English but is accepted by the grammar in PART 2. List two other sentences that are accepted by the grammar from PART 2 but are not considered grammatical in English.
b) Why does the new grammar in PART 2 allow sentences from (a) instead of deeming them to be ungrammatical?
c) Add new phrase rules to your grammar to address (b). Your new grammar should accept sentences like "the dog chases the cat" while rejecting sentences like "the dogs chases the cat"
![D → the;
dog cat dogs|cats
N →
V → chases chase ;](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fcf89c864-71e5-4449-bde3-4774682a1969%2F3dde7ca2-8539-40b2-924d-6f1e12107332%2Fb1mx3s_processed.png&w=3840&q=75)
![Consider the following PSG G:
V={S,NP,VP,D,N,V};
vO=S;
/* phrase rules */
S->NP VP;
NP->D N;
VP->V NP;
/* lexical rules */
D->the;
N->dog | cat;
V->chases;
The grammar shown above recognizes a language that contains some English sentences. You
can think of the grammar variables as representing linguistic structures. For example, NP
represents a Noun Phrase and VP represents a Verb Phrase.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fcf89c864-71e5-4449-bde3-4774682a1969%2F3dde7ca2-8539-40b2-924d-6f1e12107332%2F3lerleh_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)