Natural Language Processing

Slides:



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

Artificial Intelligence: Natural Language and Prolog
Prolog programming....Dr.Yasser Nada. Chapter 8 Parsing in Prolog Taif University Fall 2010 Dr. Yasser Ahmed nada prolog programming....Dr.Yasser Nada.
Computational language: week 10 Lexical Knowledge Representation concluded Syntax-based computational language Sentence structure: syntax Context free.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Feature Structures and Parsing Unification Grammars Algorithms for NLP 18 November 2014.
Augmented Transition Networks
Natural Language Processing Lecture 2: Semantics.
November 2008NLP1 Natural Language Processing Definite Clause Grammars.
CSA2050: DCG I1 CSA2050 Introduction to Computational Linguistics Lecture 8 Definite Clause Grammars.
07/05/2005CSA2050: DCG31 CSA2050 Introduction to Computational Linguistics Lecture DCG3 Handling Subcategorisation Handling Relative Clauses.
CSA4050: Advanced Topics in NLP Semantics IV Partial Execution Proper Noun Adjective.
1 Unification Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.
1 Natural Language Processing Lecture 7 Unification Grammars Reading: James Allen NLU (Chapter 4)
Syntax. Definition: a set of rules that govern how words are combined to form longer strings of meaning meaning like sentences.
Knowledge Representation
Sub-constituents of NP in English September 12, 2007.
1 Chapter Chapter 5 Grammars for Natural Language 5.1 Auxiliary Verbs and Verb Phrases 5.2 Movement Phenomena in Language 5.3 Handling Questions in Context-Free.
Natural Language Understanding Understanding NL (infinite language) means determining the meaning of the sentence with respect to contest in which it is.
1 Features and Augmented Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.
1 Auxiliary Verbs and Movement Phenomena Allen ’ s Chapter 5 J&M ’ s Chapter 11.
COMP 4060 Natural Language Processing Using Features.
LING 364: Introduction to Formal Semantics Lecture 9 February 9th.
Parsing: Features & ATN & Prolog By
LING 364: Introduction to Formal Semantics Lecture 4 January 24th.
Artificial Intelligence 2005/06 Features, Gaps, Movement Questions and Passives.
LING 388 Language and Computers Lecture 18 10/30/03 Sandiway FONG.
1 CONTEXT-FREE GRAMMARS. NLE 2 Syntactic analysis (Parsing) S NPVP ATNNSVBD NP AT NNthechildrenate thecake.
Fall 2004 Lecture Notes #5 EECS 595 / LING 541 / SI 661 Natural Language Processing.
Natural Language Processing Features Passives Questions Gaps Movement.
Computational Grammars Azadeh Maghsoodi. History Before First 20s 20s World War II Last 1950s Nowadays.
LING 364: Introduction to Formal Semantics Lecture 5 January 26th.
Syntax Nuha AlWadaani.
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 Semantics Interpretation Allen ’ s Chapter 9 J&M ’ s Chapter 15.
LING 388: Language and Computers Sandiway Fong Lecture 17.
1 CS 385 Fall 2006 Chapter 14 Understanding Natural Language (omit 14.4)
LING 388: Language and Computers Sandiway Fong Lecture 7.
1 Natural Language Processing Lecture 11 Efficient Parsing Reading: James Allen NLU (Chapter 6)
Context-Free Parsing Read J & M Chapter 10.. Basic Parsing Facts Regular LanguagesContext-Free Languages Required Automaton FSMPDA Algorithm to get rid.
Lecture on Programming Languages
Array in C++ / review. An array contains multiple objects of identical types stored sequentially in memory. The individual objects in an array, referred.
Context Free Grammars Reading: Chap 9, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Rada Mihalcea.
LING/C SC/PSYC 438/538 Lecture 26 Sandiway Fong. Administrivia 538 Presentations – Send me your choices if you haven’t already Thanksgiving Holiday –
Transition Network Grammars for Natural Language Analysis - W. A. Woods In-Su Yoon Pusan National University School of Electrical and Computer Engineering.
CT214 – Logical Foundations of Computing Lecture 8 Introduction to Prolog.
An Object-Oriented Approach to Programming Logic and Design Chapter 3 Using Methods and Parameters.
LING 388: Language and Computers Sandiway Fong Lecture 12.
1 Chart Parsing Allen ’ s Chapter 3 J & M ’ s Chapter 10.
1 Definite Clause Grammars for Language Analysis – A Survey of the Formalism and a Comparison with Augmented Transition Networks 인공지능 연구실 Hee keun Heo.
LING 388: Language and Computers Sandiway Fong Lecture 21.
1 Recursive Transition Networks Allen ’ s Chapters 3 J&M ’ s Chapter 10.
1 Natural Language Processing Lectures 8-9 Auxiliary Verbs Movement Phenomena Reading: James Allen NLU (Chapter 5)
1 Natural Language Processing Lecture 6 Features and Augmented Grammars Reading: James Allen NLU (Chapter 4)
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
1 Some English Constructions Transformational Framework October 2, 2012 Lecture 7.
April 2010Semantic Grammar1 A short guide to Blackburn’s Grammar of English.
5.1 Basics of defining and using classes A review of class and object definitions A class is a template or blueprint for an object A class defines.
Objectives: How to define and call functions. Function declarations and how they differ from function definitions. How arguments are passed to functions.
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,
Natural Language Processing Vasile Rus
Lecture 4b: Verb Processes
Natural Language Processing
Chapter Eight Syntax.
LING/C SC/PSYC 438/538 Lecture 21 Sandiway Fong.
CPSC 388 – Compiler Design and Construction
TREE ADJOINING GRAMMAR
Chapter Eight Syntax.
Language Variations: Japanese and English
Presentation transcript:

Natural Language Processing Lecture 6 Augmented Transition Networks Reading: James Allen NLU (Chapter 4)

Augmented Transition Networks An augmented transition network (ATN) is a recursive transition network that can perform tests and take actions during arc transitions. An ATN uses a set of registers to store information. A set of actions is defined for each arc, and the actions can look at and modify the registers. An arc may have a test associated with it. The arc is traversed (and its action is taken) only if the test succeeds. When a lexical arc is traversed, it is put in a special variable (*) that keeps track of the current word.

An ATN for NP

An ATN for S

1 the 2 dog 3 saw 4 Jack 5

An ATN Grammar for Simple Declarative Statements

The NP Network

The PP Network

Definite Clause Grammars

S(np(art(the), n(dog)), vp(v(cried)))

Definite Clause Grammars An convenient abbreviated format for writing grammar rules for logic-based parsing systems Rules can then automatically be compiled into a full database of PROLOG clauses Omit technical arguments that can automatically be inserted by the system: – word positions and constituent spans – explicit predicates for the lexicon entries Resulting grammar format looks something like: S(s(Np,Vp),FS) -> NP(Np,FS), VP(Vp,FS) NP(np(Art,Noun),FS) -> ART(Art,FS), N(Noun,FS) VP(vp(Verb),FS) -> V(Verb,FS)

A declarative clause grammar

Register Presetting Register Presetting  Parameter Passing vp:inf Mary wants to have a party. _np_vp:inf Mary wants John to have a party. Register VFORM of VP Graph should be preset to inf