Practical Grammar 3: Difference between revisions

From English Grammar
Jump to navigation Jump to search
 
(81 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Exercise 4 ==
<font face="Arial, Helvetica, sans-serif">
<font size="3">
 
== Features ==
 
The lexical entries in Grammar 1 all looked like the following:
 
this D;<br>
those D;<br>
bottle N;<br>
bottles N;
 
Together with the rule
 
NP -> D N;
 
the grammar accepts all the following strings as grammatical, even though (2) and (4) are ungrammatical:
 
(1)  this bottle<br>
(2) *this bottles<br>
(3)  those bottles<br>
(4) *those bottle
 
In this unit, we will change the grammar so that it makes the correct predictions about (1)-(4).
 
The source of the problem pointed out above is easy to spot: English determiners and nouns can both be singular or plural and in an NP of the form 'D N' the two words have to agree in number: either they are both singular or both plural. (1)-(4) illustrate this.
 
What this shows, is that so far, the grammar does not contain enough information about words. Besides a part of speech, words also have '''inflectional features''' and the values of these features are regulated in the syntax (this is why these features are also called ''morphosyntactic features'': they determine the morphological shape of words, but their distribution is determined by the syntax).
 
== Adding features to words ==
So, let us begin adding features to words. First, some terminology. We make a distinction between a feature and its value(s). This is illustrated for nouns and determiners below:
 
# Nouns and determiners carry the feature NUM(ber).
# The possible values of the feature NUM are: sg, pl.
 
With these concepts, we can add features to the words in (1)-(4) which will lead to the correct predictions for these sentences by our grammar.


♣ Add the following test sentences to your grammar and tell the program that they are ungrammatical:
<span style="color: blue>Exercise 3.1</span>
# Go to <span class="newwin">https://xlfg.labri.fr/</span> and log in.<br>


(1) *John [disappeared the hospital].<br>
Then you locate our workshop:
(2) *Martha [stayed the hospital].<br>
(3) *Fred [resides].<br>
(4) *Joe [saw Fred John].<br>
(5) *John [sent Martha to a check].<br>
(6) *We [gave Fred].


♣ Parse each sentence.<br>
# Choose Workshops|All Workshops.
♣ Does the grammar make the right prediction?<br>
# Look for the workshop "Syntax 1" for the current semester.
♣ If not, formulate in grammatical terms what the problem seems to be.
# In the column "Action", click the button "Consult the workshop".


<font face="Arial, Helvetica, sans-serif">
Now you find a project of the workshop:
<font size="3">
 
# On the right side of the screen is the list of projects of our workshop.
# Look for "Grammar 2" and click on "Create your own version".
# Now click on "Edit your version".
 
* Go to the lexicon and change the lexical entry of the word ''this'' exactly as is shown below:


== Valence ==
<pre>
this D
    [NUM:sg];
</pre>


'''Valence''' is the representation of the knowledge speakers have about what other kinds of constituents a word needs to combine with. You will remember from traditional grammar the distinction between '''intransitive''' and '''transitive''' verbs. These are just names for those verbs, respectively, which do not need a direct object (i.e. the verbs ''appear'' and ''cough'') and those which do (like ''have'' and ''trust''). Objects are called '''complements''' in our theory; so, to express that the verb ''have'' needs a direct object, its representation would contain the line
* Parse.


COMPS <OBJ>,  
You will notice a difference from Grammar 1. When you parsed a string in the previous grammar, xlfg showed you one window per string which was labeled 'Constituent Structure'. Now there is a second window which is labeled 'Functional Structure'. Unfortunately, that second window is empty. So, where is the inflectional information that we added to the word ''this''?


which translated into people speech means that the expression needs one and only one complement and that the part of speech of this complement needs to be NP.  
* Click on the '''D''' node in the Constituent Structure.


Correspondingly,
Ahh! Now the '''D''' node has a colored block around it and simultaneously the Functional Structure shows the feature NUM and its value we added for the word ''this'' earlier.


COMPS <>
What we are seeing here for the first time is that the grammar associates two different kinds of information with words (and also phrases, as we will soon see):


means that the expression does not need and, in fact, is not allowed to combine with any complement. That is correct for intransitive verbs like ''appear'', since you cannot say such things as <span style="color: blue>*Lilly appears the cake.</span>.  
'''C(onstituent)-structure''' information consists of the syntactic category (= parts of speech) of an expression in a phrase structure tree.<br>
'''F(unctional)-structure''' information consists of features and values that express the functions of an expression.


As we will see, words cannot only select complements, but also subjects and determiners. This is what the two attribute SPR is for. Verbs are marked as
<span style="color: blue>Exercise 3.2</span>
* Add NUM features (and their correspondig values) to the three other words in the lexicon.
* Parse.
* Click on the D or N node in Constituent Structure to display the f-structure information associated with that node in Functional Structure.


SPR <NP>,  
<span style="color: blue>Exercise 3.3</span>
* Display the Constituent Structure of ''those bottle''.
* Click on the D and the N node to display their f-structures.
* They differ, as expected.
* Yet, the grammar does not mark the string as ungrammatical! Think about why that is! Determiners and nouns are supposed to agree in NUM. Here, they don't agree in NUM and yet the grammar does not seem to mind. Again, why?


i.e. they must have a subject NP and so-called common nouns (i.e. ''cat'' or ''student'') are listed as
The answer is the following: ''you'' know that determiners and nouns agree in English, but the grammar doesn't know! Why? Because you haven't told it!


SPR <D>,
'''You are the grammar writer: the grammar contains all and only the information that you have given it!'''


which means that they must combine with a determiner like ''a'' or ''the'' in order to function as a subject or an object.
== Annotations of phrase structure rules ==


With this background about the 2 valence attributes, look at the lexical entries for ''Lilly'' and ''Fido'' again. You see that both expressions are marked as
In stating the determiner-noun agreement rule, we are going to encounter a central tool of '''Lexical-Functional Grammar''', the grammatical theory that xlfg is based on: '''annotations of phrase structure rules'''.


SPR <><br>
The first c-structure rule that we are going to annotate is the NP rule below:
COMPS <>.


From this we conclude that both words do not need to be combined with a specifier or a complement in order to function as the subject or object of a sentence. And this is correct, as the two sentences below illustrate:
NP -> D N;


(1) <span style="color: blue>Lilly snores.</span><br>
Recall from Unit 1 that this rule accepts a local non-lexical tree, as follows:
(2) <span style="color: blue>I like Fido.</span>


In (1), the word ''Lilly'' serves as the specifier (= subject) of the verb ''snores'' and can do so all by itself. In (2), the word ''Fido'' is the direct object complement of the transitive verb ''likes'' and again it can do so all by itself. Compare this with what happens, when we substitute a common noun for the names ''Lilly'' and ''Fido'' in the sentences above:
Mother = NP
Daughter 1 = D
Daughter 2 = N


(3) <span style="color: blue>*Student snores.</span><br>
This is just c-structure information. But each of the three nodes also has an f-structure and these 3 f-structures need to be related in a certain way.  
(4) <span style="color: blue>*I like cat.</span>


Both sentences become ungrammatical! The reason is simple: as already mentioned above, common nouns like ''student'' or ''cat'' are [SPR <D>], which means that they first need to combine with a determiner in order to serve as the subject or object of a sentence. Thus, (3) and (4) can be made grammatical by putting determiners in front of the two common nouns:
First, some important notation:


(5) <span style="color: blue>'''The''' student snores.</span><br>
In c-structure rules,
(6) <span style="color: blue>I like '''any''' cat.</span>
'''the up-arrow ↑''' refers to the f-structure of the mother of the local tree;
'''down-arrows ↓1, ↓2, ... ↓n''' with a number refer to the f-structure of the first, second, or nth daughter of the local tree.


== Self Test Exercises on Verb Valence ==
The following is one of the most important constraints in any lexical-functional grammar:
<br>


(1) <span style="color: blue>Kim <u>snores</u>.</span>
=↓n;
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR || <NP[''nom'']>
|-
| COMPS || < >
|}
</div>
</div><br>


2. <span style="color: blue>Kim <u>likes</u> Robin.</span>
Here is what it means:  
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR  || <NP[''nom'']>
|-
| COMPS || <NP[''acc'']>
|}
</div>
</div><br>


3. <span style="color: blue>Kim <u>talked</u> to the student.</span>
the f-structure of the mother of the local tree licensed by the current rule (= ↑) is identical to the f-structure of the nth daughter of that local tree (↓n).
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || < PP >
|}
</div>
</div><br>


4. <span style="color: blue>Kim <u>showed</u> Hessen to Robin.</span>
Another way of saying the same thing is: the mother's f-structure is also the daughter's f-structure and the other way round. There is only one f-structure and it describes the functional information associated with both mother and daughter.
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], PP>
|}
</div>
</div><br>


5. <span style="color: blue>Kim <u>handed</u> Robin the apple.</span>
With this tool, we can change the NP rule to the following one, which will have the consequence that D and N agree in NUM:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], NP[''acc'']>
|}
</div>
</div><br>


6. <span style="color: blue>Kim <u>told</u> Robin that the student likes her.</span>
<pre>
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
1. NP -> D N
Check your answer
2. {
<div class="mw-collapsible-content">
3.  ↑=↓1;
{|
4.  ↑=↓2;
|-
5. }
| SPR    || <NP[''nom'']>
</pre>
|-
| COMPS || <NP[''acc''], S>
|}
</div>
</div><br>


7. <span style="color: blue>Kim <u>mentioned</u> to Robin that the student likes her.</span>
This rule now says all and only the following:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
# Line 1: the rule licenses a local tree whose mother is NP, whose first daughter is D, and whose second daughter is N.
Check your answer
# Line 2: the opening parenthesis signals that what follows are functional annotations of the nodes in line 1.
<div class="mw-collapsible-content">
# Line 3: it says that the NP mother and the D daughter have one and the same f-structure.
{|
# Line 4: it says that the NP mother and the N daughter have one and the same f-structure.
|-
# Line 5: the closing parenthesis signals the end of the functional annotations and therefore the end of the c-structure rule.
| SPR    || <NP[''nom'']>
|-
| COMPS || <PP, S>
|}
</div>
</div><br>


8. <span style="color: blue>Kim <u>wants</u> [to eat an apple.]</span>
<span style="color: blue>Exercise 3.4</span>
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
* Go back to <span class="newwin">https://xlfg.labri.fr/</span>.<br>
Check your answer
Part 1:
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <VP[''inf'']>
|}
</div>
</div><br>


9. <span style="color: blue>Kim <u>believes</u> Robin to like the student.</span>
* Parse.
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
* Click on "this bottle".
Check your answer
* Click on the D and N nodes and inspect their f-structures.
<div class="mw-collapsible-content">
* Click on the NP node and inspect its f-structure. There is none.
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], VP[''inf'']>
|}
</div>
</div><br>


10. <span style="color: blue>Kim <u>seems</u> to Robin to like the student.</span>
Part 2:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
* Go to the grammar editor.
Check your answer
* Change the NP -> D N rule so that it looks exactly as above.
<div class="mw-collapsible-content">
* Repeat Part 1.
{|
* Note the difference to the result in Part 1 when you click on NP.
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], VP[''inf'']>
|}
</div>
</div><br>


11. <span style="color: blue>Kim <u>is</u> intelligent.</span>
Part 3:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
* Repeat Part 2, but now click on "those bottle".
Check your answer
* Click on the NP.
<div class="mw-collapsible-content">
* Try to interpret what you see.
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <AP>
|}
</div>
</div><br>


12. <span style="color: blue>Kim <u>considers</u> the student intelligent.</span>
<span style="color: blue>Exercise 3.5</span>
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], AP>
|}
</div>
</div><br>


13. <span style="color: blue>Kim <u>talked</u> to Robin about the student.</span>
* Add a single lexical entry for the determiner '''a''' and a single lexical entry for the determiner '''the''' and make NO other changes to the grammar, except to add the following test sentences:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your answer
<div class="mw-collapsible-content">
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <PP, PP>
|}
</div>
</div><br>


14. <span style="color: blue>Kim <u>saw</u> Robin talk to the student.</span>
(1) a bottle<br>
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
(2) *a bottles<br>
Check your answer
(3) the bottle<br>
<div class="mw-collapsible-content">
(4) the bottles
{|
|-
| SPR    || <NP[''nom'']>
|-
| COMPS || <NP[''acc''], VP[''base'']>
|}
</div>
</div><br>


== Homework for next week ==
* Check whether your grammar makes the correct predictions for (1)-(4).


Go to the [http://141.2.159.95:7029/wt/ Online Grammar] and do the following:
<span style="color: blue>Exercise 3.6</span>


* Click on the words in the lexicon one by one.
Instead of the f-structures that the grammar currently produces for the whole NP in (1) and (3) above, we would like to obtain the following ones (note: in xlfg, the feature structures below will appear in 2 lines):
* Before you click on a word, predict what label the grammar will give to that word.
* Predict for which words the grammar will give more than one label and what the labels are going to be. You can check this by clicking on the numbers in the upper righthand corner.


<br>
(4) a bottle: [NUM sg, DEF -]
<br>


<div align="center">
(5) the bottle: [NUM sg, DEF +]
  [[Syntax_1_Wiki |'''Main page''']]|[[Syntax_1_Wiki:_Week_1| '''Week 1''']] |[[Syntax_1_Wiki:_Week_2| '''Week 2''']]| '''Week 3'''
</div>


<!--
* Change the grammar so that it yields the desired f-structures.
| '''Week 3''']]|[[Syntax_1_Wiki:_Week_4| '''Week 4''']]| [[Syntax_1_Wiki:_Week_5| '''Week 5''']]|[[Syntax_1_Wiki:_Week_6| '''Week 6''']]|[[Syntax_1_Wiki:_Week_7| '''Week 7''']]
-->






🡑SUBJ = 🡓
What our grammar covers so far:
- lexical entries of the most important parts of speech and their features
- NPs, VPs, APs, and PPs
- agreement in number between determiners and nouns
- definite vs. indefinite NPs


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

Latest revision as of 10:17, 7 April 2025

Features

The lexical entries in Grammar 1 all looked like the following:

this D;
those D;
bottle N;
bottles N;

Together with the rule

NP -> D N;

the grammar accepts all the following strings as grammatical, even though (2) and (4) are ungrammatical:

(1) this bottle
(2) *this bottles
(3) those bottles
(4) *those bottle

In this unit, we will change the grammar so that it makes the correct predictions about (1)-(4).

The source of the problem pointed out above is easy to spot: English determiners and nouns can both be singular or plural and in an NP of the form 'D N' the two words have to agree in number: either they are both singular or both plural. (1)-(4) illustrate this.

What this shows, is that so far, the grammar does not contain enough information about words. Besides a part of speech, words also have inflectional features and the values of these features are regulated in the syntax (this is why these features are also called morphosyntactic features: they determine the morphological shape of words, but their distribution is determined by the syntax).

Adding features to words

So, let us begin adding features to words. First, some terminology. We make a distinction between a feature and its value(s). This is illustrated for nouns and determiners below:

  1. Nouns and determiners carry the feature NUM(ber).
  2. The possible values of the feature NUM are: sg, pl.

With these concepts, we can add features to the words in (1)-(4) which will lead to the correct predictions for these sentences by our grammar.

Exercise 3.1

  1. Go to https://xlfg.labri.fr/ and log in.

Then you locate our workshop:

  1. Choose Workshops|All Workshops.
  2. Look for the workshop "Syntax 1" for the current semester.
  3. In the column "Action", click the button "Consult the workshop".

Now you find a project of the workshop:

  1. On the right side of the screen is the list of projects of our workshop.
  2. Look for "Grammar 2" and click on "Create your own version".
  3. Now click on "Edit your version".
  • Go to the lexicon and change the lexical entry of the word this exactly as is shown below:
this D
     [NUM:sg];
  • Parse.

You will notice a difference from Grammar 1. When you parsed a string in the previous grammar, xlfg showed you one window per string which was labeled 'Constituent Structure'. Now there is a second window which is labeled 'Functional Structure'. Unfortunately, that second window is empty. So, where is the inflectional information that we added to the word this?

  • Click on the D node in the Constituent Structure.

Ahh! Now the D node has a colored block around it and simultaneously the Functional Structure shows the feature NUM and its value we added for the word this earlier.

What we are seeing here for the first time is that the grammar associates two different kinds of information with words (and also phrases, as we will soon see):

C(onstituent)-structure information consists of the syntactic category (= parts of speech) of an expression in a phrase structure tree.
F(unctional)-structure information consists of features and values that express the functions of an expression.

Exercise 3.2

  • Add NUM features (and their correspondig values) to the three other words in the lexicon.
  • Parse.
  • Click on the D or N node in Constituent Structure to display the f-structure information associated with that node in Functional Structure.

Exercise 3.3

  • Display the Constituent Structure of those bottle.
  • Click on the D and the N node to display their f-structures.
  • They differ, as expected.
  • Yet, the grammar does not mark the string as ungrammatical! Think about why that is! Determiners and nouns are supposed to agree in NUM. Here, they don't agree in NUM and yet the grammar does not seem to mind. Again, why?

The answer is the following: you know that determiners and nouns agree in English, but the grammar doesn't know! Why? Because you haven't told it!

You are the grammar writer: the grammar contains all and only the information that you have given it!

Annotations of phrase structure rules

In stating the determiner-noun agreement rule, we are going to encounter a central tool of Lexical-Functional Grammar, the grammatical theory that xlfg is based on: annotations of phrase structure rules.

The first c-structure rule that we are going to annotate is the NP rule below:

NP -> D N;

Recall from Unit 1 that this rule accepts a local non-lexical tree, as follows:

Mother = NP
Daughter 1 = D
Daughter 2 = N

This is just c-structure information. But each of the three nodes also has an f-structure and these 3 f-structures need to be related in a certain way.

First, some important notation:

In c-structure rules, 
the up-arrow ↑ refers to the f-structure of the mother of the local tree;
down-arrows ↓1, ↓2, ... ↓n with a number refer to the f-structure of the first, second, or nth daughter of the local tree.

The following is one of the most important constraints in any lexical-functional grammar:

↑=↓n;

Here is what it means:

the f-structure of the mother of the local tree licensed by the current rule (= ↑) is identical to the f-structure of the nth daughter of that local tree (↓n).

Another way of saying the same thing is: the mother's f-structure is also the daughter's f-structure and the other way round. There is only one f-structure and it describes the functional information associated with both mother and daughter.

With this tool, we can change the NP rule to the following one, which will have the consequence that D and N agree in NUM:

1. NP -> D N
2. {
3.  ↑=↓1;
4.  ↑=↓2;
5. }

This rule now says all and only the following:

  1. Line 1: the rule licenses a local tree whose mother is NP, whose first daughter is D, and whose second daughter is N.
  2. Line 2: the opening parenthesis signals that what follows are functional annotations of the nodes in line 1.
  3. Line 3: it says that the NP mother and the D daughter have one and the same f-structure.
  4. Line 4: it says that the NP mother and the N daughter have one and the same f-structure.
  5. Line 5: the closing parenthesis signals the end of the functional annotations and therefore the end of the c-structure rule.

Exercise 3.4

Part 1:

  • Parse.
  • Click on "this bottle".
  • Click on the D and N nodes and inspect their f-structures.
  • Click on the NP node and inspect its f-structure. There is none.

Part 2:

  • Go to the grammar editor.
  • Change the NP -> D N rule so that it looks exactly as above.
  • Repeat Part 1.
  • Note the difference to the result in Part 1 when you click on NP.

Part 3:

  • Repeat Part 2, but now click on "those bottle".
  • Click on the NP.
  • Try to interpret what you see.

Exercise 3.5

  • Add a single lexical entry for the determiner a and a single lexical entry for the determiner the and make NO other changes to the grammar, except to add the following test sentences:

(1) a bottle
(2) *a bottles
(3) the bottle
(4) the bottles

  • Check whether your grammar makes the correct predictions for (1)-(4).

Exercise 3.6

Instead of the f-structures that the grammar currently produces for the whole NP in (1) and (3) above, we would like to obtain the following ones (note: in xlfg, the feature structures below will appear in 2 lines):

(4) a bottle: [NUM sg, DEF -]

(5) the bottle: [NUM sg, DEF +]

  • Change the grammar so that it yields the desired f-structures.


What our grammar covers so far:
- lexical entries of the most important parts of speech and their features
- NPs, VPs, APs, and PPs
- agreement in number between determiners and nouns
- definite vs. indefinite NPs