07/05/2005CSA2050: DCG31 CSA2050 Introduction to Computational Linguistics Lecture DCG3 Handling Subcategorisation Handling Relative Clauses.

Slides:



Advertisements
Similar presentations
Lecture 3a Clause functions Adapted from Mary Laughren.
Advertisements

 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
CSA2050: DCG I1 CSA2050 Introduction to Computational Linguistics Lecture 8 Definite Clause Grammars.
CSA2050: DCG IV1 CSA2050: Definite Clause Grammars IV Handling Gaps II Semantic Issues.
Sub-constituents of NP in English September 12, 2007.
Linguistic Theory Lecture 7 About Nothing. Nothing in grammar Language often contains irregular paradigms where one or more expected forms are absent.
Statistical NLP: Lecture 3
DEFINITE CLAUSE GRAMMARS Ivan Bratko University of Ljubljana Faculty of Computer and Information Sc.
Linguistic Theory Lecture 8 Meaning and Grammar. A brief history In classical and traditional grammar not much distinction was made between grammar and.
LING 364: Introduction to Formal Semantics
Sag et al., Chapter 4 Complex Feature Values 10/7/04 Michael Mulyar.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
1 CONTEXT-FREE GRAMMARS. NLE 2 Syntactic analysis (Parsing) S NPVP ATNNSVBD NP AT NNthechildrenate thecake.
LING 364: Introduction to Formal Semantics Lecture 5 January 26th.
The students will be able to know:
Syntax Nuha AlWadaani.
11 CS 388: Natural Language Processing: Syntactic Parsing Raymond J. Mooney University of Texas at Austin.
February 2009Introduction to Semantics1 Logic, Representation and Inference Introduction to Semantics What is semantics for? Role of FOL Montague Approach.
Verb Patterns and the Be Patterns Ed McCorduck English 402--Grammar SUNY Cortland
October 2004csa4050: Semantics II1 CSA4050: Advanced Topics in NLP Semantics II The Lambda Calculus Semantic Representation Encoding in Prolog.
Context Free Grammars Reading: Chap 12-13, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Paul Tarau, based on Rada.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 14, Feb 27, 2007.
Relative clauses Chapter 11.
LING 388: Language and Computers Sandiway Fong Lecture 7.
Parts of Speech Nouns Adverbs Pronouns Conjunctions Verbs Prepositions
1 Statistical Parsing Chapter 14 October 2012 Lecture #9.
Natural Language Processing Lecture 6 : Revision.
Lecture 16 It-Patterns and Existential Sentence Part 1. Use of it Part 2. Existential Sentence Structural properties of existential sentences Non-finite.
November 2003CSA4050: Semantics I1 CSA4050: Advanced Topics in NLP Semantics I What is semantics for? Role of FOL Montague Approach.
1 Natural Language Processing Lecture Notes 11 Chapter 15 (part 1)
October 15, 2007 Non-finite clauses and control : Grammars and Lexicons Lori Levin.
October 2004CSA4050: Semantics III1 CSA4050: Advanced Topics in NLP Semantics III Quantified Sentences.
Context Free Grammars Reading: Chap 9, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Rada Mihalcea.
11 Chapter 14 Part 1 Statistical Parsing Based on slides by Ray Mooney.
November 2011Sentence Grammar1 CSA3202: HLT Sentence Grammar.
Culture , Language and Communication
Rules, Movement, Ambiguity
The man bites the dog man bites the dog bites the dog the dog dog Parse Tree NP A N the man bites the dog V N NP S VP A 1. Sentence  noun-phrase verb-phrase.
Section 11.3 Features structures in the Grammar ─ Jin Wang.
1 Natural Language Processing Lectures 8-9 Auxiliary Verbs Movement Phenomena Reading: James Allen NLU (Chapter 5)
Sentences Ed McCorduck English 402--Grammar SUNY Cortland
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
SYNTAX.
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
Lecture 1: Trace Theory.  We have seen that things move :  Arguments move out of the VP into subject position  Wh-phrases move out of IP into CP 
CSA3050: NLP Algorithms Sentence Grammar NLP Algorithms.
1 Principles & Parameters Approach in Linguistics II Bibhuti Bhusan Mahapatra.
Welcome to the flashcards tool for ‘The Study of Language, 5 th edition’, Chapter 8 This is designed as a simple supplementary resource for this textbook,
Grammar The “4 – Level” Analysis. The 4 - Levels Jack ate a delicious sandwich. Level 1 – parts of speech Level 2 – parts of a sentence Level 3 – phrases.
Lec. 10.  In this section we explain which constituents of a sentence are minimally required, and why. We first provide an informal discussion and then.
King Faisal University جامعة الملك فيصل Deanship of E-Learning and Distance Education عمادة التعلم الإلكتروني والتعليم عن بعد [ ] 1 King Faisal University.
10/31/00 1 Introduction to Cognitive Science Linguistics Component Topic: Formal Grammars: Generating and Parsing Lecturer: Dr Bodomo.
Natural Language Processing Vasile Rus
English Grammar Lecture 5: Sentences
Lecture 2: Categories and Subcategorisation
Statistical NLP: Lecture 3
Prepositions and Prepositional Phrases
Intensive verb Syifa Khoirunnisa.
Natural Language Processing
Chapter Eight Syntax.
CS 388: Natural Language Processing: Syntactic Parsing
Chapter Eight Syntax.
Natural Language Processing
Linguistic Essentials
Verb Patterns and the Be Patterns
Sentences Ed McCorduck English 402--Grammar SUNY Cortland
CSA2050 Introduction to Computational Linguistics
Natural Language Processing
Principles and Parameters (I)
Lecture 7: Definite Clause Grammars
Presentation transcript:

07/05/2005CSA2050: DCG31 CSA2050 Introduction to Computational Linguistics Lecture DCG3 Handling Subcategorisation Handling Relative Clauses

07/05/2005CSA2050: DCG32 Subcategories of Verbs English includes the following sentences: –John disappeared –John broke the window –John gave Mary the book In each case the verb phrase has a different structure corresponding to the number of noun phrases that follow.

07/05/2005CSA2050: DCG33 Subcategories of VP VP V disappeared VP V NP broke the window VP V NP NP gave Mary the book To handle this we need separate rules for VP

07/05/2005CSA2050: DCG34 Some Rules for Subcategories of Verb vp -> v. vp -> v, np. vp -> v, np, np. Checkpoint: how good are these rules for handling English?

07/05/2005CSA2050: DCG35 Counterexamples The following sentences obey the above rules: –John broke –Mary disappeared the window –Mike told Mary the book All of them violate the subcategorisation constraints of the individual verbs. How can we make sure that the right rule goes with the right verb?

07/05/2005CSA2050: DCG36 Handling Subcategorisation - I vp --> v1. vp --> v2, np. vp --> v3 np, np. This solution has the problem that the v i are distinct symbols with no relationship between them. We thus miss the fact that they are all verbs

07/05/2005CSA2050: DCG37 Handling Subcategorisation - II A slightly better method is to adopt rules of the following shape: vp --> v(intrans) vp --> v(trans), np. vp --> v(ditrans), np, np. This is essentially the same method that we used to avoid multiplying categories when handling agreement.

07/05/2005CSA2050: DCG38 Handling Subcategorisation: The Lexicon Assume that the lexicon looks something like this: lex(disappeared, v, intrans). lex(broke,v, trans). lex(gave, v, ditrans).

07/05/2005CSA2050: DCG39 Two Approaches – One Lexicon Approach 1 v1 --> [X] {lex(X,v,intrans)}. v2 --> [X] {lex(X,v,trans)}. v2 --> [X] {lex(X,v,ditrans)}. Approach 2 v(Type) --> [X], {lex(X,v,Type)}.

07/05/2005CSA2050: DCG310 Other Verb Complements So far we have only discussed three possible VP rules. But in practice there are many more: –np, pp: John told Bill about the accident –np, vp: John persuaded Bill to come –np, pp,pp: John rented an apartment to Bill for Lm100 –np, s: John informed Bill that Jack was coming Taking prepositions into account, about 40 different patterns are required to handle verbs in English. This will lead to an undesirable proliferation of grammar rules.

07/05/2005CSA2050: DCG311 Subcategorisation: Approach III Shift responsibility towards the lexicon Key idea: lexical entry for each verb contains a complement list. lex(told,v, [np,pp]). lex(persuaded,v,[np,vp]). lex(rented,v,[np,pp,pp]. The list is then managed by the grammar.

07/05/2005CSA2050: DCG312 Grammar Rules for VP Basic idea is to avoid multiple grammar rules of the form vp --> v([]). vp --> v([np]), np(...). vp --> v([np,np]), np(...), np(...). vp --> v([np,pp]), np(...), pp(...). vp --> v([np,s]), np(...), s(...). Instead have a single rule of this form vp --> v(SubCatList), comps(SubCatList). which allows a verb phrase to be formed from a verb followed by a sequence of zero or more complements.

07/05/2005CSA2050: DCG313 The Grammar s --> np, vp. np --> n. np --> d, n. vp --> v(SC), comps(SC). comps([]) --> []. comps([X|R]) --> x(X), comps(R).

07/05/2005CSA2050: DCG314 The Comps Rule comps([]) --> []. comps([X|R]) --> x(X), comps(R) Challenge: how to write the definition of the "x" predicate.

07/05/2005CSA2050: DCG315 Relative Clauses Sentences like Terry runs a program that Bertrand wrote The man who came to dinner vomited include relative clauses (shown in boldface) Relative clauses are interesting because they involve "filler-gap dependency"

07/05/2005CSA2050: DCG316 Structure of Relative Clauses Relative clauses such as that Bertrand wrote are not well described by relclause --> [that], vp. This is because the underlying structure is not the concatenation of "that" and a VP, i.e. If this is not the structure, what is?

07/05/2005CSA2050: DCG317 The Structure of the Relative Clause To understand the structure we must first look at the wider context in which it occurs, in this case the noun phrase: a program that Bertrand wrote. This noun phrase is derived from the underlying sentence Bertrand wrote a program.

07/05/2005CSA2050: DCG318 Derivation of Relative Clause Basic sentence: Bertrand wrote a program Step 1: identify object NP Bertrand wrote [a program] Step 2: move to the front, leaving gap where object NP was. [A program] Bertrand wrote npgap Note that underlined structure is a sentence with a gap instead of an object. Step 3: insert relative pronoun just before sentence containing gap. [A program] that Bertrand wrote npgap N.B. Gap is invisible

07/05/2005CSA2050: DCG319 Structure of the Noun Phrase NP dN relSgap VPgap v NPgap aprogramthat n bertrandwrote RelCl filler gap

07/05/2005CSA2050: DCG320 Long Distance Dependencies A filler-gap dependency occurs in an NL sentence when a subpart of some phrase is missing from its normal location and another phrase, outside the incomplete one, stands in its place. Filler-gap dependencies are examples of long- distance dependencies. The amount of material between dependents (in this case filler and gap) is unbounded, at least in principle, e.g. Terry read a book that Bertrand told a student to ask a professor to write.

07/05/2005CSA2050: DCG321 Handling Gaps within a DCG Use a nonterminal argument position to indicate the presence or absence a gap, e.g. np(nogap) = an NP without a gap np(gap) = an NP with a gap Introduce the term gap(T) to indicate the presence or absence of a gap of category T. So gap(np) will indicate where an NP used to be. For each category c that admits gaps, introduce the rule c(gap(c)) rewrites nothing, e.g. np(gap(np)) --> [ ].