Syntax
Syntax
Syntax provides
• systematic rules for forming new sentences in a language.
• Paraphrasing
– John loves Mary = Mary is loved by John
• Information Extraction
– Fill in a form by extracting information from a document.
Structure of Words
Constituency
• How does this notion arise?
• Type of constituents
• Representation: Tree Structure
Formal device: Context Free Grammars
• Derived tree and derivation tree
• Grammar Equivalence
– Strong and weak generative capacity
– Chomsky Normal Form
• Other Formal Frameworks (Tree-Adjoining Grammar)
Other topics in syntax
• Dependency
• Spoken language syntax
• Structural Priming
Constituency
There are words with “demands” and words that fill the “demands”.
• Demands are typed (NP, VP, PP, S)
English Syntax: A Sample
Sentence types:
• Declarative (John closed the door)
• Imperative (close the door!!)
• Yes-No-Question (can you close the door?)
• Wh-question (who closed the door? What did John close?)
Clause types:
• Infinitival (to read a book)
• Gerundive (reading of a book)
• Relative Clause (that has a green cover)
English Syntax: A Sample – contd.
Noun Phrase:
• Before the head noun:
– Pre-determiner Determiner Post-determiner (Adjective|Noun) Noun
• After the head noun (Modifiers)
– Preposition phrases
– Relative Clauses (the book that has only one sentence)
– Gerundive (the flight arriving after 10pm)
Auxiliary Verbs
• Modal (could, might, will, should…) < perfect (have) < progressive (be) <
passive (be)
• “might have been destroyed”
Large wide-coverage grammars have been developed/under
development
• XTAG (www.cis.upenn.edu/~xtag), HPSG, LFG
Two Representations of Syntactic Structure
S
reads
adj
arg0
arg1
NP reads NP Adv boy book slowly
fw fw
slowly
DetP boy DetP book
the a
the a
Context Free-Grammars
Cat N Cat V
boys : Number pl reads:
Subj agr Number sg
Person 3 3
Person
VP V S NP VP
Sentence utterance.
“Clean up” the utterance first before understanding it.