06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

matching time of the re-write rules’ left part with sentential representation (in<br />

top-down parsing) will be significantly large. An alternative approach to<br />

parsing is to employ augmented transition networks that can define context<br />

sensitive languages, but is more powerful than the context sensitive grammar.<br />

18.3 Augmented Transition Network Parsers<br />

Augmented transition networks (ATN) [6] extend transition networks by<br />

attaching procedures to the arcs of the networks. When an arc is traversed, the<br />

ATN parser executes the procedure, attached to that arc. These procedures i)<br />

assign values to grammatical features, <strong>and</strong> ii) check whether the number or<br />

person (1 st , 2 nd , 3 rd ) conditions are satisfied <strong>and</strong> accordingly allow or fail a<br />

transition. For instance, the ATN that may be employed for parsing part of the<br />

sentence ‘the boy’ is presented below. Suppose the grammatical<br />

characteristics or features of the words ‘NP’, ‘the’ <strong>and</strong> ‘boy’ are available in a<br />

data dictionary, as shown in fig.18.9. Also assume that the procedures are<br />

attached to the arcs of the article <strong>and</strong> noun, as described below.<br />

NP:<br />

the:<br />

boy:<br />

DET Noun Number<br />

(b)<br />

(c)<br />

Fig. 18.9: The grammatical characteristics of the word (a) NP, (b) the<br />

<strong>and</strong> (c) boy, represented by structures.<br />

(a)<br />

Part of Speech Root Number<br />

ART the Singular/<br />

Plural<br />

Part of Speech Root Number<br />

N boy Singular<br />

Now, for parsing the string sequence: ‘the boy’, suppose we use the<br />

ATN for NP. So, at state S0 of NP, it first assigns ART:= the <strong>and</strong> checks<br />

whether the part-of-speech = ART. If yes, it assigns NP.DET:=ART;<br />

otherwise it fails <strong>and</strong> the control returns to wherefrom it was called.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!