Version 1 (modified by welberge, 7 years ago) (diff)



A binding provides an XML description of the mapping from a BML behavior to one or more units on the motor plan. While bindings are in principle Engine-dependent, several shared concepts occur in multiple bindings.


A binding contains different specs, each mapping from a BML behavior with certain properties to one or more motor units.


Each spec has a type, which specifies from which BML behavior type it maps (e.g. gesture, faceFacs, ..).


Constraints specify which BML behavior parameters should be satisfied to bind this specific spec to a BML behavior

For example:

<FaceUnitSpec type="faceLexeme">
    <constraint name="lexeme" value="smilemouth"/>

binds this spec to a BML behavior

<faceLexeme lexeme="smilemouth" ... />

A namespace attribute can be used in constraint to refer to parameters in an external namespace (that is: not the default bml 1.0 namespace).

For example:

<MotionUnitSpec type="gaze">
    <constraint name="influence" value="EYES"/>	
    <constraint namespace="" name="dynamic" value="true"/>			

binds this spec to a BML behavior

<gaze xmlns:bmlt="" influence="EYES" bmlt:dynamic="true"... />