TokenType Struct Reference

The PhoneModel class defines the phone models, the LexicalTree class the tree structure and the TokenType struct is the glue between them. LexicalTree is responsible for the token flow between phones and for language model lookahead, while PhoneModels will fill the likelihood variables and decises if a token may be passed within the phone model. More...

List of all members.


Public Attributes

TokenTypenext
float likelihood
WLRTypepath
PLRTypephonePath
float lookAheadV
LMLAGlobalListTypelmLookAhead

Detailed Description

The PhoneModel class defines the phone models, the LexicalTree class the tree structure and the TokenType struct is the glue between them. LexicalTree is responsible for the token flow between phones and for language model lookahead, while PhoneModels will fill the likelihood variables and decises if a token may be passed within the phone model.

The TokenType structure is the data type of each token. Because a token will always be in a list and it shall be possible to search forwards and backwards in that list, the next and previous variables are added to the type.

The likelihood variable and lookAheadV(alue) contain the current likelihood of the token and the part of this likelihood that is added due to language model lookahead. lookAheadV is stored in order to quickly being able to substract the lookahead from the real likelihood and replace it with a new value.

The lookahead value is calculated with help of an entire LM lookahead tree. This tree contains all possible lookahead values and is shared between all tokens with the same LM history. The variable lmLookAhead contains a pointer to this lookahead tree.

In order to make backtracking word history possible a Word Link Record list is stored in the path variable. If phone alignment is enabled, the phonePath variable contains the phone history information.


Member Data Documentation