Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
external:tectomt:tutorial [2009/01/21 12:01] kravalova |
external:tectomt:tutorial [2009/01/21 12:09] kravalova |
||
---|---|---|---|
Line 114: | Line 114: | ||
There are also other directories for other purpose blocks, for example blocks which only print out some information go to '' | There are also other directories for other purpose blocks, for example blocks which only print out some information go to '' | ||
+ | |||
Line 134: | Line 135: | ||
</ | </ | ||
- | Our plain text data '' | + | Our plain text data '' |
* One physical '' | * One physical '' | ||
Line 140: | Line 141: | ||
* Each bundle contains tree shaped sentence representations on various linguistic layers. In our example '' | * Each bundle contains tree shaped sentence representations on various linguistic layers. In our example '' | ||
* Trees are formed by nodes and edges. Attributes can be attached only to nodes. Edge's attributes must be equivalently stored as the lower node's attributes. Tree's attributes must be stored as attributes of the root node. | * Trees are formed by nodes and edges. Attributes can be attached only to nodes. Edge's attributes must be equivalently stored as the lower node's attributes. Tree's attributes must be stored as attributes of the root node. | ||
+ | |||
Line 162: | Line 164: | ||
===== Changing the scenario ===== | ===== Changing the scenario ===== | ||
- | We'll now add a syntax analysis (dependency parsing) to our scenario by adding | + | We'll now add a syntax analysis (dependency parsing) to our scenario by adding |
<code bash> | <code bash> | ||
Line 204: | Line 206: | ||
tmttred sample.tmt | tmttred sample.tmt | ||
</ | </ | ||
+ | |||
Line 276: | Line 279: | ||
</ | </ | ||
- | Try to change the block so that it prints out the information only for verbs. (You need to look at an attribute '' | + | //Advanced version//: |