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 00:41] popel |
external:tectomt:tutorial [2009/01/21 10:35] kravalova |
||
---|---|---|---|
Line 288: | Line 288: | ||
==== Task ==== | ==== Task ==== | ||
A block which, given an analytical tree ('' | A block which, given an analytical tree ('' | ||
+ | |||
Line 315: | Line 316: | ||
==== Instructions ==== | ==== Instructions ==== | ||
- | There is a block template with hints in '' | + | There is a block template with hints in '' |
<code bash> | <code bash> | ||
Line 336: | Line 337: | ||
- | //Advanced version//: The output of our block might still be incorrect in special cases - we don't solve coordination and subordinate conjunctions. | + | //Advanced version//: The output of our block might still be incorrect in special cases - we don't solve coordination |
Line 360: | Line 361: | ||
* Once you have node '' | * Once you have node '' | ||
* For debugging, a method returning word order of a node is useful: '' | * For debugging, a method returning word order of a node is useful: '' | ||
+ | |||
+ | |||
Line 382: | Line 385: | ||
==== Prepositions ==== | ==== Prepositions ==== | ||
- | **Motivation**: In dependency approach a question "where to hang prepositions" | + | {{ external:tectomt:preps.png?200x80| }} |
- | TODO obrazek | + | **Motivation**: |
**Task**: The task is to rehang all prepositions as indicated at the picture. You may assume that prepositions have at most 1 child. | **Task**: The task is to rehang all prepositions as indicated at the picture. You may assume that prepositions have at most 1 child. |