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 13:12] kravalova |
external:tectomt:tutorial [2009/01/22 10:33] kravalova |
||
---|---|---|---|
Line 86: | Line 86: | ||
This tutorial itself has its blocks in '' | This tutorial itself has its blocks in '' | ||
+ | |||
Line 101: | Line 102: | ||
{{ external: | {{ external: | ||
- | The notion of ' | + | The notion of ' |
Thus, the set of TectoMT layers is a Cartesian product {S,T} x {English, | Thus, the set of TectoMT layers is a Cartesian product {S,T} x {English, | ||
Line 113: | 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 141: | Line 142: | ||
* 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 171: | Line 174: | ||
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
- | SEnglishW_to_SEnglishM:: | + | SEnglishW_to_SEnglishM:: |
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
-- sample.tmt | -- sample.tmt | ||
Line 183: | Line 186: | ||
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
- | SEnglishW_to_SEnglishM:: | + | SEnglishW_to_SEnglishM:: |
SEnglishW_to_SEnglishM:: | SEnglishW_to_SEnglishM:: | ||
SEnglishM_to_SEnglishA:: | SEnglishM_to_SEnglishA:: | ||
Line 360: | Line 363: | ||
===== Your turn: more tasks ===== | ===== Your turn: more tasks ===== | ||
+ | |||
Line 382: | Line 386: | ||
* For debugging, a method returning surface word order of a node is useful: '' | * For debugging, a method returning surface word order of a node is useful: '' | ||
* Once you have node '' | * Once you have node '' | ||
+ | |||
+ | //Advanced version//: This solution shifts object (or more objects) of a verb just in front of that verb node. So f.e.: //Mr. Brown has urged MPs.// changes to: //Mr. Brown has MPs urged.// You can try to change this solution, so the final sentence would be: //Mr. Brown MPs has urged.// You may need a method '' | ||
+ | Subjects should have attribute ''' | ||
+ | |||
+ | |||
Line 434: | Line 443: | ||
//Advanced version//: What happens in case of multiword prepositions? | //Advanced version//: What happens in case of multiword prepositions? | ||
+ | |||
Line 439: | Line 449: | ||
* [[http:// | * [[http:// | ||
* Questions? Ask '' | * Questions? Ask '' | ||
- | * Solutions to this tutorial tasks are in '' | + | * Solutions to this tutorial tasks are in '' |
* [[http:// | * [[http:// | ||