10.04.2013 Views

Unni Cathrine Eiken February 2005

Unni Cathrine Eiken February 2005

Unni Cathrine Eiken February 2005

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ARG1 and ARG2 arrays display a value that must be traced before the semantic form can be<br />

extracted. A simplified example of the argument arrays for the sentence in (3-12) is shown in<br />

(3-15):<br />

(3- 15)<br />

ARG0:<br />

EP VALUE<br />

23 21<br />

25 22<br />

28 24<br />

31 22<br />

32 24<br />

ARG1:<br />

EP VALUE<br />

19 21<br />

23 24<br />

ARG2:<br />

EP VALUE<br />

19 22<br />

23 22<br />

To find the EPAS for this sentence, the first EP in the ARG0-array is incorporated in a regular<br />

expression which then is used for pattern matching in the members of the semform-array. If<br />

there exists an entry which matches the pattern, that is, which has an EP-value identical to the<br />

first EP in the ARG0-array, the semantic form is retrieved. To find the belonging arguments 1<br />

and 2, the ARG1 and ARG2-arrays are searched for an EP identical to the one of the predicate.<br />

If such an EP is found, the corresponding value is retrieved – for ARG1 in our example that<br />

would be the value 24. To find the semantic form of this value, we must find the EP where this<br />

value is identical to the value of ARG0, that is, the ARG0-array must again be consulted. When<br />

the EP is found, the semform-array can be pattern matched and the semantic form can be<br />

retrieved. To retrace the example; following such a procedure, the sentence in example (3-16):<br />

(3- 16)<br />

Politiet leter etter morderen<br />

The police are looking for the murderer<br />

is represented with the following EPAS, extracted from the Prolog file of the parse:<br />

(3- 17)<br />

lete-etter,politi,morder<br />

look-for,police,murderer<br />

For a detailed walkthrough of Ekstraktor, please consult Appendix A. The program code is<br />

available in Appendix B.<br />

51

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

Saved successfully!

Ooh no, something went wrong!