[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
external:tectomt:tutorial [2009/01/22 10:44]
kravalova
external:tectomt:tutorial [2009/01/22 10:50]
kravalova
Line 151: Line 151:
   * Each bundle contains tree shaped sentence representations on various linguistic layers. In our example ''sample.tmt'' we have morphological tree (''SEnglishM'') in each bundle. Later on, also an analytical layer (''SEnglishA'') will appear in each bundle as we proceed with our analysis.    * Each bundle contains tree shaped sentence representations on various linguistic layers. In our example ''sample.tmt'' we have morphological tree (''SEnglishM'') in each bundle. Later on, also an analytical layer (''SEnglishA'') will appear in each bundle as we proceed with our analysis. 
   * 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 213: Line 215:
  
 we can examine our ''sample.tmt'' again. Really, an analytical layer ''SEnglishA'' describing a dependency tree with analytical functions (''<afun>'') has been added to each bundle. we can examine our ''sample.tmt'' again. Really, an analytical layer ''SEnglishA'' describing a dependency tree with analytical functions (''<afun>'') has been added to each bundle.
- 
-You can view the trees in ''sample.tmt'' with TrEd by typing 
- 
-<code bash> 
-tmttred sample.tmt 
-</code> 
  
 Blocks can also be parametrized. For syntax parser, we might want to use a smaller but faster model. To achieve this, replace the line Blocks can also be parametrized. For syntax parser, we might want to use a smaller but faster model. To achieve this, replace the line
Line 232: Line 228:
 </code> </code>
  
 +You can view the trees in ''sample.tmt'' with TrEd by typing
 +
 +<code bash>
 +tmttred sample.tmt
 +</code>
  
 +Try to click on some nodes to see their parameters (tag, lemma, form, analytical function etc).
  
  

[ Back to the navigation ] [ Back to the content ]