1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 4.

Slides:



Advertisements
Similar presentations
Computational language: week 10 Lexical Knowledge Representation concluded Syntax-based computational language Sentence structure: syntax Context free.
Advertisements

Lecture # 8 Chapter # 4: Syntax Analysis. Practice Context Free Grammars a) CFG generating alternating sequence of 0’s and 1’s b) CFG in which no consecutive.
Translator Architecture Code Generator ParserTokenizer string of characters (source code) string of tokens abstract program string of integers (object.
Grammar Development Platform Miriam Butt October 2002.
0 Montague Grammar EECS Fall 2004 Amy Kao. 1 Montague Grammar Maps syntactic structure with semantic structure Uses formal language to describe.
Chapter Chapter Summary Languages and Grammars Finite-State Machines with Output Finite-State Machines with No Output Language Recognition Turing.
ICE1341 Programming Languages Spring 2005 Lecture #4 Lecture #4 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
LTAG Semantics on the Derivation Tree Presented by Maria I. Tchalakova.
NLP and Speech Course Review. Morphological Analyzer Lexicon Part-of-Speech (POS) Tagging Grammar Rules Parser thethe – determiner Det NP → Det.
ISBN Chapter 3 Describing Syntax and Semantics.
Chapter 3 Describing Syntax and Semantics Sections 1-3.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 4.
PZ02A - Language translation
Introduction to Syntax, with Part-of-Speech Tagging Owen Rambow September 17 & 19.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
1/15 Synchronous Tree-Adjoining Grammars Authors: Stuart M. Shieber and Yves Schabes Reporter: 江欣倩 Professor: 陳嘉平.
Local Parallel Rewriting : Theory and Applications * Giorgio Satta University of Padua * Joint work with : D. Melamed, O. Rambow, B. Wellington.
Chapter 3: Formal Translation Models
Lecture 9UofH - COSC Dr. Verma 1 COSC 3340: Introduction to Theory of Computation University of Houston Dr. Verma Lecture 9.
COP4020 Programming Languages
Semantics and Lexicology Generativist semantics. From structuralist semantics Semantic features, components.
Formal Grammars Denning, Sections 3.3 to 3.6. Formal Grammar, Defined A formal grammar G is a four-tuple G = (N,T,P,  ), where N is a finite nonempty.
Introduction Syntax: form of a sentence (is it valid) Semantics: meaning of a sentence Valid: the frog writes neatly Invalid: swims quickly mathematics.
DIPLOMA THESIS Peter Černo Clearing Restarting Automata Supervised by RNDr. František Mráz, CSc.
Tree-adjoining grammar (TAG) is a grammar formalism defined by Aravind Joshi and introduced in Tree-adjoining grammars are somewhat similar to context-free.
Continuous Discontinuity in It-Clefts Introduction Tension between the two approaches Our proposal: TAG analysis Equative it-cleft: It was Ohno who won.
THE BIG PICTURE Basic Assumptions Linguistics is the empirical science that studies language (or linguistic behavior) Linguistics proposes theories (models)
1 Chapter 3 Describing Syntax and Semantics. 3.1 Introduction Providing a concise yet understandable description of a programming language is difficult.
Grammars CPSC 5135.
Lecture # 9 Chap 4: Ambiguous Grammar. 2 Chomsky Hierarchy: Language Classification A grammar G is said to be – Regular if it is right linear where each.
TextBook Concepts of Programming Languages, Robert W. Sebesta, (10th edition), Addison-Wesley Publishing Company CSCI18 - Concepts of Programming languages.
Copyright © by Curt Hill Grammar Types The Chomsky Hierarchy BNF and Derivation Trees.
Copyright © Curt Hill Languages and Grammars This is not English Class. But there is a resemblance.
Parsing Introduction Syntactic Analysis I. Parsing Introduction 2 The Role of the Parser The Syntactic Analyzer, or Parser, is the heart of the front.
CPE 480 Natural Language Processing Lecture 4: Syntax Adapted from Owen Rambow’s slides for CSc Fall 2006.
CSA2050 Introduction to Computational Linguistics Parsing I.
1 Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Supertagging CMSC Natural Language Processing January 31, 2006.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
LING 6520: Comparative Topics in Linguistics (from a computational perspective) Martha Palmer Jan 15,
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
Syntax and Semantics Form and Meaning of Programming Languages Copyright © by Curt Hill.
Syntax Analysis – Part I EECS 483 – Lecture 4 University of Michigan Monday, September 17, 2006.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 3.
Handling Unlike Coordinated Phrases in TAG by Mixing Syntactic Category and Grammatical Function Carlos A. Prolo Faculdade de Informática – PUCRS CELSUL,
CSC312 Automata Theory Lecture # 26 Chapter # 12 by Cohen Context Free Grammars.
Programming Languages and Design Lecture 2 Syntax Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Chapter 4: Syntax analysis Syntax analysis is done by the parser. –Detects whether the program is written following the grammar rules and reports syntax.
Mid-Terms Exam Scope and Introduction. Format Grades: 100 points -> 20% in the final grade Multiple Choice Questions –8 questions, 7 points each Short.
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,
Chapter 3 – Describing Syntax CSCE 343. Syntax vs. Semantics Syntax: The form or structure of the expressions, statements, and program units. Semantics:
Chapter 2. Formal Languages Dept. of Computer Engineering, Hansung University, Sung-Dong Kim.
Chapter 3 – Describing Syntax
Introduction to Formal Languages
Chapter 3 – Describing Syntax
Concepts of Programming Languages
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Formal Language Theory
CSE 3302 Programming Languages
TREE ADJOINING GRAMMAR
Introduction to Computational Linguistics
Compilers Principles, Techniques, & Tools Taught by Jing Zhang
Teori Bahasa dan Automata Lecture 9: Contex-Free Grammars
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
High-Level Programming Language
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Presentation transcript:

1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 4

2 What’s the plan for today? Brief review of Chomsky’s Hierarchy of languages Tree Adjoining Grammar Lexical Functional Grammar Next time: Head-driven Phrase Structure Grammar Readings: –Parsing (very brief) –Parsing in psycholinguistics –Examples of TAG derivations

3 Chomsky hierarchy (review) Containment hierarchy of classes of formal grammars that generate formal languages Type 0: unrestricted, include all formal grammars –Any string of terminals and non-terminals to any string of terminals and non- terminals Type 1: context sensitive –A  any string of terminals and non-terminals Type 2: context free (the theoretical basis for the syntax of most programming languages) –A  a, A  Ba Type 3: regular grammars –A  a

4 Lexicalized grammars Tree adjoining grammar (TAG) –The XTAG project ( ) –The TAG workshops ( Lexical functional grammar (LFG) –LFG resource site ( –LFG conferences ( Head-driven phrase structure grammar (HPSG) –HPSG resource site ( –HPSG conferences (

5 Tree adjoining grammars Introduced by Joshi, Levy & Takahashi (1975) and Joshi (1985) Linguistically motivated –Tree generating grammar (generates tree structures not just strings) Example: I want him to leave, I promised him to leave –Allows factoring recursion from the statement of linguistic constraints (dependencies), thus simplifying linguistic description (Kroch & Joshi 1985) Formally motivated –A (new) class of grammars that describe mildly context sensitive languages (Joshi et al 1991)

6 The TAG formalism Concepts –Locality and recursion –Lexicalization Elementary objects –Initial trees –Auxiliary trees Operations –Substitution –Adjunction

7 Locality and recursion Stretching dependencies –Who do you like t? –Who does John think that you like t? –Who does John think that Mary said that you like t? Also compare: –John tried to please Mary –John seems to like Mary

8 Lexicalization In a lexicalized grammar each elementary structure is associated with a lexical item, called its ‘anchor’

9 Elementary trees

10 Operation 1: Substitution

11

12

13 Tree Families

14 Verbs and particles

15 Wh-extraction

16 Operation 2: Adjunction

17 Operation 2: Adjunction

18 Derived and derivation trees

19 Reference for TAGs Tree adjoining grammars: Formalisms, Linguistic Analysis and Processing by Anne Abeillé and Owen Rambow ( html)

20 Lexical Functional Grammar First introduced by Kaplan & Bresnan (1982) A theory of grammar –Syntax (how words combine to make up sentences) –Semantics (how and why words and combinations of words mean what they mean)

21 Basic components of LFG Two parallel levels of syntactic representation –Constituent structure (c-structure) –Functional structure (f-structure) C-structures have the form of context-free phrase structure trees F-structures are sets of pairs of attributes and values; attributes may be features, such as tense and gender, or functions, such as subject and object.

22 Structure, structural description and correspondence Allowable c-structures for a sentence are defined by context-free rewrite rules The description of an appropriate f-structure is derived from functional annotations on to the c-structure rules To interpret functional annotations Kaplan and Bresnan defined a special instantiation procedure which relies on an implicit c-structure to f-structure correspondence

23

24 Head-driven Phrase Structure Grammar Next time!