The number of language models is written K; the number of words is W ; the length of the document is T ; and the depth of the hierarchy is L. For hierarchical segmentation, the vector y t indicates the segment index of t at each level of the topic hierarchy; the specific level of the hierarchy responsible for w t is given by the hidden variable z t .
is the index of the language model that generates w t .