Practical Grammar 5

From English Grammar
Jump to navigation Jump to search

Not only verbs have a PRED feature

Making our grammar more similar to the textbook system

The following rules are a slightly simplified version of the c-structure rules from pages 33 and 35 of the textbook. The rules are simplified, so as not to introduce too many new ideas at once. We will eventually use the full set of rules.

Exercise

1. Go to xlfg.
2. Create a new project.
3. Calls it "Practical Grammar 5".
4. Enter "start_symbol: IP" into the Declarations editor.
5. Enter the following c-structure rules into the Grammar editor.

DP → D NP;
DP → NP;

IP → DP Ibar;
Ibar → I VP;
Ibar → VP;

NP → N;
NP → AP NP;

PP → P DP;

VP → V;
VP → V DP;
VP → V PP;
VP → V DP DP;
VP → V DP PP;

// The following is a pseudo-rule that is supposed to recognize all categories. Do NOT change or delete it!

Const → CP|Cbar|DP|Dbar|IP|Ibar|NP|PP|VP;