wiki:TextEngine

Version 3 (modified by welberge, 6 years ago) (diff)

--

Text Engine

The Text Engine provides text generation support, which can be used as an alternative for TTS (also using the speech behavior) or standalone using bmlt text behaviors (TODO: ref to bmlt:text), for example for subtitling.

XML Setup

Example (using a JLabel for text output on panel1):

<Loader id="panelembodiment" loader="hmi.jcomponentenvironment.JComponentEmbodimentLoader">
        <JComponent id="panel1"/>             
</Loader>

<Loader id="textembodiment" loader="asap.textengine.JLabelTextEmbodiment" requiredloaders="panelembodiment"/>

<Loader id="pictureengine" loader="asap.textengine.loader.TextEngineLoader" requiredloaders="textembodiment"/>