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.
Contents |
Instructions
UNLization (IAN)
- Go to IAN (UNLWEB>UNLDEV>IAN)
- Create a new document with the sentence (1) below, including the period.
- Create a new dictionary with the entries below.
- Provide the t-grammar necessary to go from (1) to (2)
- Export the trace (at the level detailed)
NLization (EUGENE)
- Go to EUGENE (UNLWEB>UNLDEV>EUGENE)
- Create a new document with the sentence (2) below.
- Create a new dictionary with the entries below.
- Provide the t-trammar necessary to go from (2) to (1). Don't forget to generate the period at the end of the sentence.
- Export the trace (at the level detailed)
Corpus
(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]
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>;