Exercise1: Difference between revisions
From UNLwiki
Jump to navigationJump to search
imported>Martins No edit summary |
imported>Martins No edit summary |
||
| Line 1: | Line 1: | ||
To create the transformation grammar necessary to go from (1) to (2) with [[IAN]], and from (2) to (1) with [[EUGENE]]. | To create the transformation grammar necessary to go from (1) to (2) with [[IAN]], and from (2) to (1) with [[EUGENE]]. | ||
== Instructions == | |||
=== UNLization (IAN) === | |||
1. Go to IAN (UNLWEB>UNLDEV>IAN) | |||
2. Create a new document with the sentence (1) below, including the period. | |||
3. Create a new dictionary with the entries below. | |||
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) below. | |||
3. Create a new dictionary with the entries below. | |||
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) | |||
== Corpus == | |||
(1) NL | (1) NL | ||
Any sufficiently advanced technology is indistinguishable from magic. | Any sufficiently advanced technology is indistinguishable from magic. | ||
| Line 29: | Line 44: | ||
[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>; | ||
Revision as of 18:03, 19 May 2014
To create the transformation grammar necessary to go from (1) to (2) with IAN, and from (2) to (1) with EUGENE.
Instructions
UNLization (IAN)
1. Go to IAN (UNLWEB>UNLDEV>IAN) 2. Create a new document with the sentence (1) below, including the period. 3. Create a new dictionary with the entries below. 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) below. 3. Create a new dictionary with the entries below. 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)
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>;