alex.components.nlg.tectotpl.block.read package¶
Submodules¶
alex.components.nlg.tectotpl.block.read.tectotemplates module¶
-
class
alex.components.nlg.tectotpl.block.read.tectotemplates.
TectoTemplates
(scenario, args)[source]¶ Bases:
alex.components.nlg.tectotpl.core.block.Block
Reader for partial t-tree dialog system templates, where treelets can be intermixed with linear text.
Example template:
Vlak přijede v [[7|adj:attr] hodina|n:4|gender:fem].
All linear text is inserted into t-lemmas of atomic nodes, while treelets have their formeme and grammateme values filled in.