[ 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 Both sides next revision
external:tectomt:tutorial [2009/01/20 15:32]
kravalova
external:tectomt:tutorial [2009/01/20 15:36]
kravalova
Line 329: Line 329:
  
 ===== Your turn: more tasks ===== ===== Your turn: more tasks =====
 +
  
  
Line 340: Line 341:
 **Motivation**: During translation from an SVO based language (English) to an SOV based language (Korean) we might need to change the word order from SVO to SOV.  **Motivation**: During translation from an SVO based language (English) to an SOV based language (Korean) we might need to change the word order from SVO to SOV. 
  
-**Task**: On analytical layer, change the word order from SVO to SOV.+**Task**: Change the word order from SVO to SOV. 
 + 
 +**Instructions**:  
 + 
 +  * To find an object to a verb, look for objects among effective children of a verb (''$child->get_attr('afun') eq 'Obj' ''). That implies working on analytical layer. 
 +  * 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''
  
-**Instructions**: To find an object to a verb, look for ''$afun eq 'Obj' '' among effective children of a verb. 
  
  

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