Practical Grammar 5: Difference between revisions

From English Grammar
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 7: Line 7:


(1) [PRED &nbsp; 'DISAPPEAR<SUBJ>']
(1) [PRED &nbsp; 'DISAPPEAR<SUBJ>']
(2) [PRED &nbsp; 'SEE<SUBJ, OBJ>']
(2) [PRED &nbsp; 'SEE<SUBJ, OBJ>']


Line 14: Line 15:
b. for predicates that must combine with grammatical functions, a list of functions  
b. for predicates that must combine with grammatical functions, a list of functions  


So, the PRED value of (1) means that the word "diappear" means DISAPPEAR and must combine with a SUBJ and no other grammatial function(s).
So, the PRED value of (1) means that the word "disappear" means DISAPPEAR and must combine with a SUBJ and no other grammatial function(s).


Similarly for (2): the word "see" means SEE and must combine with a SUBJ, an OBJ, and no other grammatial function(s).
Similarly for (2): the word "see" means SEE and must combine with a SUBJ, an OBJ, and no other grammatial function(s).
Line 28: Line 29:


1. Go to <span class="newwin">https://xlfg.labri.fr/</span> and log in.<br>
1. Go to <span class="newwin">https://xlfg.labri.fr/</span> and log in.<br>
2. Open your latest grammar."<br>
2. Open your version of Grammar 4."<br>
3. Add appropriate PRED features to the lexical entries that need them.<br>
3. Add appropriate PRED features to the lexical entries that need them.<br>
4. Parse.<br>
4. Parse.<br>
Line 45: Line 46:


1. Go to <span class="newwin">https://xlfg.labri.fr/</span> and log in.<br>
1. Go to <span class="newwin">https://xlfg.labri.fr/</span> and log in.<br>
2. Create a new project.<br>
2. Open the project "Grammer 5"<br>
3. Call it "Practical Grammar 5".<br>
3. Enter "start_symbol: IP" into the Declarations editor.<br>
4. Enter "start_symbol: IP" into the Declarations editor.<br>
4. Enter the following c-structure rules into the Grammar editor.
5. Enter the following c-structure rules into the Grammar editor.
 
AP → A;


DP → D NP;<br>
DP → D NP;<br>
Line 60: Line 58:


NP → N; <br>
NP → N; <br>
NP → AP NP;


PP → P DP;
PP → P DP;
Line 66: Line 63:
VP → V;<br>
VP → V;<br>
VP → V DP;<br>
VP → V DP;<br>
VP → V PP;<br>
VP → V DP DP;
VP → V DP DP;<br>
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;<br>
---


6. Drawing on page 48 of the textbook, add annotations to ALL c-structure rules. <span style="color: red>Be aware that xlfg gives an error message if only some but not all rules are annotated!!!</span>
6. Drawing on page 48 of the textbook, add annotations to '''ALL''' c-structure rules. <span style="color: red>Be aware that xlfg gives an error message if only some but not all rules are annotated!!!</span> For "OBJ<sub>&#920;</sub>" in the book, write"OBJ_TH" in xlfg.<br>
7. Add the lexical entries that appear in the sentences below to the Lexicon, with just a part of speech for now. Do not end your test sentences with a period!
7. Add the lexical entries that appear in the sentences below to the Lexicon, with just a part of speech for now. Do not end your test sentences with a period!


(1) John disappeared<br>
* (1) John disappeared<br>
(2) the chair broke<br>
* (2) The chair broke<br>
(3) Martha stayed at the hospital<br>
* (3) Martha saw Robert<br>
(4) Robert went to the hospital<br>
* (4) John sent Martha a check<br>
(5) Martha saw Robert<br>
(6) we moved the chair into the room<br>
(7) Fred took Alice to the hospital<br>
(8) John sent Martha a check<br>
(9) the old chair broke


7. Parse.<br>
8. Parse.<br>
8. Display the tree for each sentence and find the differences between the structures licensed by our previous grammar and the current one.
9. Display the tree for each sentence and find the differences between the structures licensed by our previous grammar and the current one.


<span style="color: blue>Exercise 5.3</span>
<span style="color: blue>Exercise 5.3</span>


1. Add appropriate PRED values to all nouns, verbs, and adjectives in the Lexicon.<br>
1. Add appropriate PRED values to all nouns and verbs in the Lexicon.<br>
2. Parse.<br>
2. Parse.
3. Which sentences do not have valid f-structures?
 
 


<br>
<br>
<br>
<br>
 
<font face="Arial, Helvetica, sans-serif">
<font size="2">
<div align="center">
<div align="center">
  [[Practical_Grammar |'''Main page''']] [[Practical_Grammar_2| '''Week 2''']] [[Practical_Grammar_3| '''Week 3''']] [[Practical_Grammar_4| '''Week 4''']] '''Week 5''' [[Practical_Grammar_Help| '''Help''']]
    [[Practical_Grammar|'''Main page''']] [[Practical_Grammar_2|'''Week 2''']] [[Practical_Grammar_3|'''Week 3''']] [[Practical_Grammar_4|'''Week 4''']] '''Week 5''' [[Practical_Grammar_6|'''Week 6''']]  [[Practical_Grammar_7_new|'''Week 7''']]  [[Practical_Grammar_8|'''Week 8''']]  [[Practical_Grammar_9|'''Week 9''']]
</div>
</div>

Latest revision as of 12:39, 28 November 2022

Not only verbs have a PRED feature

Last week, we introduced the PRED feature and assigned it to verbs, like the following:

(1) [PRED   'DISAPPEAR<SUBJ>']

(2) [PRED   'SEE<SUBJ, OBJ>']

The PRED feature is discussed at the beginning of section 2.2 in the textbook. There it is described that the value of the PRED feature consists of two pieces of information:

a. a SEMANTIC FORM, and
b. for predicates that must combine with grammatical functions, a list of functions

So, the PRED value of (1) means that the word "disappear" means DISAPPEAR and must combine with a SUBJ and no other grammatial function(s).

Similarly for (2): the word "see" means SEE and must combine with a SUBJ, an OBJ, and no other grammatial function(s).

It follows from what was just said that not only verbs, but all words which are meaningsful have a PRED value. Here are some more examples:

a. "Lilly": [PRED   'LILLY']
b. "cat": [PRED   'CAT']

Some function words like the determiners "a" and "the" are not assumed to have the feature PRED, because they are assumed to have "grammatical" meanings which are different from the meanings of verbs and nouns.

Exercise 5.1

1. Go to https://xlfg.labri.fr/ and log in.
2. Open your version of Grammar 4."
3. Add appropriate PRED features to the lexical entries that need them.
4. Parse.
5. In the Lexicon editor, add your first name as a noun, but do not give the noun a PRED value.
6. Add a test sentence "[YOUR FIRST NAME] snores"
7. Parse.
8. Study the output for the last test sentence and try to understand it.
9. Go back to the Lexicon editor and add an appropriate PRED feature and value to the entry for your name.
10. Parse.

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 5.2

1. Go to https://xlfg.labri.fr/ and log in.
2. Open the project "Grammer 5"
3. Enter "start_symbol: IP" into the Declarations editor.
4. 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;

PP → P DP;

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

6. Drawing on page 48 of the textbook, add annotations to ALL c-structure rules. Be aware that xlfg gives an error message if only some but not all rules are annotated!!! For "OBJΘ" in the book, write"OBJ_TH" in xlfg.
7. Add the lexical entries that appear in the sentences below to the Lexicon, with just a part of speech for now. Do not end your test sentences with a period!

  • (1) John disappeared
  • (2) The chair broke
  • (3) Martha saw Robert
  • (4) John sent Martha a check

8. Parse.
9. Display the tree for each sentence and find the differences between the structures licensed by our previous grammar and the current one.

Exercise 5.3

1. Add appropriate PRED values to all nouns and verbs in the Lexicon.
2. Parse.