[ 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
user:dusek:vystadial:templates [2012/10/03 11:46]
dusek
user:dusek:vystadial:templates [2012/10/03 11:53] (current)
dusek
Line 1: Line 1:
 ===== Template engine ===== ===== Template engine =====
  
-Konverze z dialogovych aktu do stringu.+Konverze z dialogovych aktu do stringu, ciste pravidlova.
  
  
Line 30: Line 30:
  
 ==== Schema ==== ==== Schema ====
 +                    vnejsi promenne (vyrecnost etc.) 
 +                          `v
   dialogovy akt   ->     model   -> string / strom - >>>> surface realization   dialogovy akt   ->     model   -> string / strom - >>>> surface realization
                            ^                            ^
Line 41: Line 42:
  
 ==== Mapa aktu (model) - reprezentace ==== ==== Mapa aktu (model) - reprezentace ====
 +
 +Tuple:
 +  * **input** -- seznam dialogovych aktu, pro kazdy:
 +    * typ aktu (string)
 +    * parametry (dictionary -- name:value)
 +  * **output** -- cokoli, cemu bude rozumet surface realizator, ten to musi dostat spolu s promennymi. Vzdy se zas bude jednat o seznam, ne nutne stejne dlouhy jako predtim.
 +    * //stringy//: ''The @entity is $entity.''
 +    * //stromy//: Nejak vkladat promenne do stromu

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