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.

Crocodile:<br />

Smiled:<br />

Fig. 18.12: Dictionary definition of (a) crocodile <strong>and</strong> (b) smiled.<br />

Sentence (S):<br />

Part of speech Root Number<br />

N<br />

NP<br />

S0 S1 S2<br />

Tagged<br />

procedure<br />

NP:=structure returned by<br />

NP network;<br />

S. NP:=NP;<br />

Crocodile Singular<br />

(a)<br />

Part of speech Root Number<br />

V<br />

smile Sing./Plural<br />

(b)<br />

Tagged procedure<br />

VP:=strucure returned by<br />

VP network;<br />

If NP. Number =VP.<br />

Number<br />

Then do begin S.VP:=VP;<br />

Return S; End;<br />

Else fail;<br />

Fig. 18.13 (a): The ATN grammar of a sentence that checks number agreement.<br />

The parse tree for the sentence ‘the crocodile smiled’ can now be<br />

drawn (fig. 18.14) following the above definitions.<br />

In constructing the ATN parsers throughout our discussion, we used<br />

conceptual graphs. Besides conceptual graphs there exist quite a large number<br />

of other techniques for constructing ATN. These include frame, script <strong>and</strong><br />

level logic representations.<br />

VP

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

Saved successfully!

Ooh no, something went wrong!