[ 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/21 00:44]
popel
external:tectomt:tutorial [2009/01/21 10:35]
kravalova
Line 361: Line 361:
   * Once you have node ''$object'' and node ''$verb'', use method TODO    * Once you have node ''$object'' and node ''$verb'', use method TODO 
   * For debugging, a method returning word order of a node is useful: ''$node->get_attr('ord')''. It can be used to print out nodes sorted by attribute ''ord''.   * For debugging, a method returning word order of a node is useful: ''$node->get_attr('ord')''. It can be used to print out nodes sorted by attribute ''ord''.
 +
 +
  
  
Line 383: Line 385:
 ==== Prepositions ==== ==== Prepositions ====
  
-**Motivation**In dependency approach a question "where to hang prepositions" arises. In praguian style (PDT), prepositions are heads of the subtree and the noun/pronoun is dependent on the preposition. However, another ordering might be preferableThe noun/pronoun might be the head of subtree, while the preposition would take the role of a modifier.+{{ external:tectomt:preps.png?200x80| }}
  
-TODO obrazek+**Motivation**: In dependency approach a question "where to hang prepositions" arises. In praguian style (PDT), prepositions are heads of the subtree and the noun/pronoun is dependent on the preposition. However, another ordering might be preferable: The noun/pronoun might be the head of subtree, while the preposition would take the role of a modifier.
  
 **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.

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