Syntax, semantics, and grammars (1)

What is syntax for?

(A sample text)

Constituency and structure

He took a rake out of the closet.
He took [ a rake ] [ out of the closet ].
He took [ a rake [ out of the closet ] ].
He took a rake out of the closet.

Relations

The pile of leaves that Toad had raked for Frog blew everywhere.
The pile of leaves that Toad had raked [0] for Frog blew everywhere.
He will never guess who raked his leaves.
She sent herself an email.

Compositionality, syntax-semantics mappings

messy leaves
Toad ran through the grass so that Frog would not see him.

Constituent order

Rana llegó a la casa de Sapo.
'Frog got to Toad's house.'

Llegó Rana a la casa de Sapo.

Llegó a la casa de Sapo Rana.

A la casa de Sapo llegó Rana.

Selectional restrictions

messy room, messy hair, messy leaves, messy thoughts, messy star
devote your time, devote yourself, devote your blood, devote your name

Grammaticality and obligatoriness

He took a rake out of the closet.

Generalizations and abstraction

I left the keys in the car.
What did I leave in the car?
Where did I leave the keys?
The keys I left in the car.
the keys (that) I left in the car

Al broke the iPod.
The iPod broke.
The iPod was broken by Al

Constituency grammars

Context-free grammars (pushdown automata, recursive transition networks)

A grammar for a fragment of English

S    → NP VP 	             VP   → TV NP      
NP   → (Det) AdjP* N PP*    VP   → LV AdjP      
NP   → NP CoordConj NP      VP   → LV PP      	      
NP   → Pro                  VP   → CV that S  
VP   → Aux VP               AdjP → Adv* Adj   
VP   → IV                   PP   → P NP       
	 		      
N → tomatoes                TV → can
Pro → this                  LV → seemed
CoordConj → and             Adj → pretty
Aux → can                   Adv → pretty
IV → died                   P → under
CV → said

Problems with simple context-free grammars

Context-free grammars with complex categories (feature structures) [HPSG, LFG]

Probabilistic context-free grammars

Dependency grammars

Home

Calendar

Coursework

Notes

Readings

Code

Resources


IU | INFO | CSCI

Contact instructor