WLRType Struct Reference
The WLRType, the Word Link Record is the structure that contains word history information for tokens (of struct TokenType). More...
Public Attributes | |
int | lmHistory [LM_NGRAM_DEPTH] |
char | isSil |
int | timeStamp |
LatticeNode * | lattice |
WLRType ** | nBest |
float | COMBlikelihood |
float | LMlikelihood |
int | usedAt |
WLRType * | adminNext |
WLRType * | previous |
PLRType * | phoneAlignment |
Detailed Description
The WLRType, the Word Link Record is the structure that contains word history information for tokens (of struct TokenType).The wordID variable defines the word that is recognized. The timeStamp variable contains the time at which the word is started. COMBlikelihood contains the combined AM/LM likelihood. (likelihoods are in the log scale). The variable usedAt is added for administrative purposes. This variable is updated each time frame as long as there is at least a single token history containing this WLR. If the usedAt variable is not updated, the WLR is deleted. The variable adminNext is used to make create a long list of WLRs. The previous variable points to the previous word pronounced. This variable is used to track the total word history.
The phoneAlignment variable points to the phone alignment history of this word. This variable is ONLY used when phone alignment is enabled!
Member Data Documentation
float WLRType::COMBlikelihood |
Referenced by LexicalTree::createLatticeNodeGroups(), LexicalTree::errorAnalysis(), NBest::fillNBestArray(), LexicalTree::getBestPath(), LexicalTree::getBestRecognitionScore(), LexicalTree::initialiseTree(), LexicalTree::processNodeOutput(), LexicalTree::processWord(), LexicalTree::safeBestRecognition(), ArticulatoryStream::setPool(), NBest::setReference(), LexicalTree::setWlrNBest(), and LexicalTree::sortLatticePaths().
char WLRType::isSil |
Referenced by LexicalTree::calcErrorRegionStats(), Segmenter::createSegments(), NBest::fillNBestArray(), LexicalTree::getBestIDSequence(), LexicalTree::getBestPath(), LexicalTree::getWordFromWLR(), LexicalTree::initialiseTree(), LexicalTree::processNodeOutput(), LexicalTree::processWord(), LexicalTree::safeBestRecognition(), ArticulatoryStream::setPool(), and NBest::setReference().
Referenced by LexicalTree::countLatticePaths(), LexicalTree::createLatticeLMRescoring(), LexicalTree::createLatticeNodeGroups(), LexicalTree::initialiseTree(), LexicalTree::lattice_copyNonSilArcs(), LexicalTree::lattice_removeDoubleArcs(), LexicalTree::printLattice(), LexicalTree::printNBestList(), LexicalTree::processNodeOutput(), LexicalTree::processWord(), and ArticulatoryStream::setPool().
int WLRType::lmHistory[LM_NGRAM_DEPTH] |
Referenced by LexicalTree::calcErrorRegionStats(), LexicalTree::createLatticeNodeGroups(), Segmenter::createSegments(), LexicalTree::errorAnalysis(), NBest::fillNBestArray(), LexicalTree::findBestToken(), LexicalTree::getBestIDSequence(), LexicalTree::getBestPath(), LexicalTree::getWordFromWLR(), LexicalTree::initialiseTree(), LexicalTree::processNodeOutput(), LexicalTree::processVector_LMLAReordering(), LexicalTree::processVector_LMLAReordering_prepare(), LexicalTree::processWord(), PhoneModel::replaceTokenLM(), LexicalTree::safeBestRecognition(), and NBest::setReference().
float WLRType::LMlikelihood |
Referenced by LexicalTree::adaptAMs(), LexicalTree::errorAnalysis(), LexicalTree::getBestPath(), LexicalTree::initialiseSystem(), LexicalTree::initialiseTree(), LexicalTree::processNodeOutput(), LexicalTree::processVector_administrationCleanup(), LexicalTree::processWord(), LexicalTree::safeBestRecognition(), ArticulatoryStream::setPool(), and LexicalTree::~LexicalTree().
Referenced by LexicalTree::adaptAMs(), LexicalTree::calcErrorRegionStats(), LexicalTree::createLatticeNodeGroups(), Segmenter::createSegments(), LexicalTree::errorAnalysis(), NBest::fillNBestArray(), LexicalTree::findLatticeNodes(), LexicalTree::getBestIDSequence(), LexicalTree::getBestPath(), NBest::getNBestArraySize(), LexicalTree::initialiseTree(), LexicalTree::processNodeOutput(), LexicalTree::processVector_grammar(), LexicalTree::processWord(), LexicalTree::safeBestRecognition(), ArticulatoryStream::setPool(), NBest::setReference(), and LexicalTree::touchWLRpath().
Referenced by LexicalTree::adaptAMs(), LexicalTree::calcErrorRegionStats(), LexicalTree::createLattice(), Segmenter::createSegments(), LexicalTree::errorAnalysis(), NBest::fillNBestArray(), LexicalTree::findLatticeNodes(), LexicalTree::getBestIDSequence(), LexicalTree::getBestPath(), NBest::getNBestArraySize(), LexicalTree::initialiseTree(), LexicalTree::printLattice(), LexicalTree::processNodeOutput(), LexicalTree::processWord(), LexicalTree::safeBestRecognition(), ArticulatoryStream::setPool(), NBest::setReference(), and LexicalTree::setWlrNBest().
int WLRType::usedAt |