1 / 13

Natural Language Processing

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.

eljah
Download Presentation

Natural Language Processing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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.

  3. An ATN for NP

  4. An ATN for S

  5. 1 the 2 dog 3 saw 4 Jack 5

  6. An ATN Grammar for Simple Declarative Statements

  7. The NP Network

  8. The PP Network

  9. Definite Clause Grammars

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

  11. 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)

  12. A declarative clause grammar

  13. 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

More Related