Exercise1: Difference between revisions
From UNLwiki
Jump to navigationJump to search
imported>Martins No edit summary |
imported>Martins No edit summary |
||
| Line 4: | Line 4: | ||
Any sufficiently advanced technology is indistinguishable from magic. | Any sufficiently advanced technology is indistinguishable from magic. | ||
(2) | (2) | ||
[S] | |||
{org} | |||
Any sufficiently advanced technology is indistinguishable from magic. | |||
{/org} | |||
{unl} | |||
aoj(indistinguishable, technology.@any) | aoj(indistinguishable, technology.@any) | ||
mod(technology.@any, advanced) | mod(technology.@any, advanced) | ||
man(advanced, sufficiently) | man(advanced, sufficiently) | ||
src(indistinguishable, magic) | src(indistinguishable, magic) | ||
{/unl} | |||
[/S] | |||
== Dictionary == | == Dictionary == | ||
[ ]{}""(PUT=BLK)<eng,0,0>; | |||
[.]{}""(PUT=PERIOD)<eng,0,0>; | |||
[advanced]{}"advanced"(LEX=J,POS=ADJ)<eng,0,0>; | [advanced]{}"advanced"(LEX=J,POS=ADJ)<eng,0,0>; | ||
[any]{}""(LEX=D,POS=QUA,att=@any)<eng,0,0>; | [any]{}""(LEX=D,POS=QUA,att=@any)<eng,0,0>; | ||
| Line 20: | Line 29: | ||
[sufficiently]{}"sufficiently"(LEX=A,POS=AAV)<eng,0,0>; | [sufficiently]{}"sufficiently"(LEX=A,POS=AAV)<eng,0,0>; | ||
[technology]{}"technology"(LEX=N,POS=NOU)<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) | |||
Revision as of 18:01, 19 May 2014
To create the transformation grammar necessary to go from (1) to (2) with IAN, and from (2) to (1) with EUGENE.
(1) Any sufficiently advanced technology is indistinguishable from magic.
(2)
[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>;
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)