Augmented Transition Network
   HOME

TheInfoList



OR:

An augmented transition network or ATN is a type of graph theoretic structure used in the
operational definition An operational definition specifies concrete, replicable procedures designed to represent a construct. In the words of American psychologist S.S. Stevens (1935), "An operation is the performance which we execute in order to make known a concept." F ...
of
formal language In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet". The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
s, used especially in
parsing Parsing, syntax analysis, or syntactic analysis is a process of analyzing a String (computer science), string of Symbol (formal), symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal gramm ...
relatively complex
natural language A natural language or ordinary language is a language that occurs naturally in a human community by a process of use, repetition, and change. It can take different forms, typically either a spoken language or a sign language. Natural languages ...
s, and having wide application in
artificial intelligence Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
. An ATN can, theoretically, analyze the structure of any sentence, however complicated. ATN are modified transition networks and an extension of RTNs. ATNs build on the idea of using
finite-state machine A finite-state machine (FSM) or finite-state automaton (FSA, plural: ''automata''), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number o ...
s (
Markov model In probability theory, a Markov model is a stochastic model used to Mathematical model, model pseudo-randomly changing systems. It is assumed that future states depend only on the current state, not on the events that occurred before it (that is, ...
) to parse sentences. W. A. Woods in "Transition Network Grammars for Natural Language Analysis" claims that by adding a
recursive Recursion occurs when the definition of a concept or process depends on a simpler or previous version of itself. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in m ...
mechanism to a finite state model, parsing can be achieved much more efficiently. Instead of building an automaton for a particular sentence, a collection of transition graphs are built. A grammatically correct sentence is parsed by reaching a final state in any state graph. Transitions between these graphs are simply subroutine calls from one state to any initial state on any graph in the network. A sentence is determined to be grammatically correct if a final state is reached by the last word in the sentence. This model meets many of the goals set forth by the nature of language in that it captures the regularities of the language. That is, if there is a process that operates in a number of environments, the grammar should encapsulate the process in a single structure. Such encapsulation not only simplifies the grammar, but has the added bonus of efficiency of operation. Another advantage of such a model is the ability to postpone decisions. Many grammars use guessing when an
ambiguity Ambiguity is the type of meaning (linguistics), meaning in which a phrase, statement, or resolution is not explicitly defined, making for several interpretations; others describe it as a concept or statement that has no real reference. A com ...
comes up. This means that not enough is yet known about the sentence. By the use of recursion, ATNs solve this inefficiency by postponing decisions until more is known about a sentence.


Example

An augmented transition network for parsing noun phrases. The diagrams depict two ATNs used by the
Bolt Beranek and Newman Raytheon BBN (originally Bolt, Beranek and Newman, Inc.) is an American research and development company based in Cambridge, Massachusetts. In 1966, the Franklin Institute awarded the firm the Frank P. Brown Medal, in 1999 BBN received the ...
(BBN) "Hear-What-I-Mean" (HWIM) speech-understanding system of the mid-1970s, produced for ARPA's Speech Understanding Research project in the 1970s. It was intended to parse sentences that are questions about travel budgets, like "What is the plane fare to Ottawa?". ATNs are finite-state graphs whose arcs may perform ''tests'' (e.g. part-of-speech checks) and ''actions'' (e.g. pushing or popping a subsidiary network). In the diagram: * Every state is a node, and every arc is a labelled arrow. A ''double-circled'' state is the start state. * Lexical or category tests appear on the arc label like CAT DET. * Procedural actions appear on the arc label like PUSH PP/ or POP. * A ''tiny tree fragment'' to the right illustrates the structure that will be returned to the calling ATN after the POP.


Generic noun-phrase ATN

This ATN recognizes (or generates) some English noun phrases. The graph therefore parses sequences such as: :\ ET the\ DJ big\ house\ P on the hill/code> where the \ P on the hill/code> would have more structure inside it, illustrated by the small triangle beneath the output PP.


Trip-specific noun-phrase ATN

This ATN is a variant specialized for parsing sentences that are about travel. It inherits the generic pattern but hard-codes trip-related words and adjuncts. A complete generation trace for ''"''a cheap trip to Paris by Tom''"'' is therefore: # Start at TRIP/ and read determiner "a". # Loop once on CAT TRIP-ADJ to accept "cheap". # Consume "trip" via WRD TRIP. # Read keyword "to". # Push the PLACE/ network, yielding "Paris". # Encounter "by", switch to state T/BY, then accept the proper-object "Tom". # Pop, returning the fully-expanded NP subtree.


See also

*
Context free language In formal language theory, a context-free language (CFL), also called a Chomsky type-2 language, is a language generated by a context-free grammar (CFG). Context-free languages have many applications in programming languages, in particular, most ...
*
Formal grammar A formal grammar is a set of Terminal and nonterminal symbols, symbols and the Production (computer science), production rules for rewriting some of them into every possible string of a formal language over an Alphabet (formal languages), alphabe ...
*
Parsing Parsing, syntax analysis, or syntactic analysis is a process of analyzing a String (computer science), string of Symbol (formal), symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal gramm ...
* Recursive transition network


References

* * * *


External links


An introduction on ATNs by Paul Graham
in
On Lisp ''On Lisp: Advanced Techniques for Common Lisp'' is a book by Paul Graham on macro programming in Common Lisp. Published in 1993, it is currently out of print, but can be freely downloaded as a PDF Portable document format (PDF), standardiz ...
{{DEFAULTSORT:Augmented Transition Network Automata (computation) Natural language parsing