State tying =========== CART file format ---------------- The CART implementation uses an XML-format. It begins with the XML-header .. code-block :: xml The root element is named "decision-tree". It is followed by an element "properties-definition", containing several "key" and "valueMap"-elements. .. code-block :: xml name of key value0 value1 ... similarly the phoneme list Keys and ValueMaps are specified for the hmm-states, .. code-block :: xml hmm-state 0 1 2 the word position .. code-block :: xml boundary begin-of-lemma end-of-lemma single-phoneme-lemma within-lemma and the phonemes for all positions in the allophone (history[0], central, future[0] for triphones) .. code-block :: xml history[0] # E1 ... The next element of the xml-file is named "questions". It contains the question-elements. In contrast to the legacy format all questions are listed and nothing is added automatically. The questions are specified for every allophone-position. .. code-block :: xml central si history[0] W _n b c ch d f g h j k l m n ng p q r s sh t v w x y z zh ... Finally the tree is defined. The attribute "id" refers to the index of the question in case of a node or the the index of the cart class for leafs. Additional informations can be stored in the information-element. .. code-block :: xml 0 83142165 1.26782e+10 1 9293883 1.27342e+09 ... Lookup Table ============ Format per line: :ref:`Allophone State` followed by Mixture-ID **Example** .. code-block:: text t{a+#}@f.1 593 t{a+#}@f.2 796 a{B+n}.0 1404 a{B+n}.1 1594 a{B+n}.2 1116 n{a+s}.0 3311 n{a+s}.1 3324 n{a+s}.2 3258 s{n+#}@f.0 202 s{n+#}@f.1 260 s{n+#}@f.2 72