Exercise1
From UNL Wiki
To create the transformation grammar necessary to go from (1) to (2) with IAN, and from (2) to (1) with EUGENE.
(1) NL
Any sufficiently advanced technology is indistinguishable from magic.
(2) UNL
[S] {org} Any sufficiently advanced technology is indistinguishable from magic. {/org} {unl} aoj(indistinguishable, technology.@any) mod(technology.@any, advanced) man(advanced, sufficiently) src(indistinguishable, magic) {/unl} [/S]
Contents |
Dictionary
[ ]{}""(PUT=BLK)<eng,0,0>; [.]{}""(PUT=PERIOD)<eng,0,0>; [advanced]{}"advanced"(LEX=J,POS=ADJ)<eng,0,0>; [any]{}""(LEX=D,POS=QUA,att=@any)<eng,0,0>; [from]{}""(LEX=P,POS=PRE)<eng,0,0>; [indistinguishable){}"indistinguishable"(LEX=J,POS=ADJ)<eng,0,0>; [is]{}""(LEX=V,POS=COP)<eng,0,0>; [magic]{}"magic"(LEX=N,POS=NOU)<eng,0,0>; [sufficiently]{}"sufficiently"(LEX=A,POS=AAV)<eng,0,0>; [technology]{}"technology"(LEX=N,POS=NOU)<eng,0,0>;
Instructions
UNLization (IAN)
1. Go to IAN (UNLWEB>UNLDEV>IAN) 2. Create a new document with the sentence (1) above, including the period. 3. Create a new dictionary with the entries above. 4. Provide the t-grammar necessary to go from (1) to (2) 5. Export the trace (at the level detailed)
NLization (EUGENE)
1. Go to EUGENE (UNLWEB>UNLDEV>EUGENE) 2. Create a new document with the sentence (2) above. 3. Create a new dictionary with the entries above. 4. Provide the t-trammar necessary to go from (2) to (1). Don't forget to generate the period at the end of the sentence. 5. Export the trace (at the level detailed)