public class TokenHeapSearchManager extends WordPruningBreadthFirstSearchManager
Modifier and Type | Field and Description |
---|---|
protected int |
maxTokenHeapSize |
acousticLookaheadFrames, activeList, checkStateOrder, currentCollectTime, currentFrameNumber, curTokensScored, growTimer, linguist, logger, logMath, loserManager, PROP_ACOUSTIC_LOOKAHEAD_FRAMES, PROP_ACTIVE_LIST_MANAGER, PROP_CHECK_STATE_ORDER, PROP_GROW_SKIP_INTERVAL, PROP_LINGUIST, PROP_MAX_LATTICE_EDGES, PROP_PRUNER, PROP_RELATIVE_BEAM_WIDTH, PROP_SCORER, PROP_SHOW_TOKEN_COUNT, pruner, pruneTimer, relativeBeamWidth, resultList, scorer, scoreTimer, showTokenCount, streamEnd, tokensCreated, totalTokensScored
buildWordLattice, keepAllTokens, PROP_BUILD_WORD_LATTICE, PROP_KEEP_ALL_TOKENS
Constructor and Description |
---|
TokenHeapSearchManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
createBestTokenMap()
creates a new best token map with the best size
|
protected Token |
getBestToken(SearchState state)
Gets the best token for this state
|
protected void |
setBestToken(Token token,
SearchState state)
Sets the best token for a given state
|
activeListAdd, allocate, allowExpansion, checkStateOrder, collectSuccessorTokens, deallocate, getActiveList, getCurrentFrameNumber, getGrowTimer, getResultList, getTokensCreated, growBranches, growEmittingBranches, isVisited, localStart, localStop, monitorStates, newProperties, pruneBranches, recognize, recognize, scoreTokens, setActiveList, setResultList, showTokenCount, startRecognition, stopRecognition
getResultListPredecessor
protected final int maxTokenHeapSize
protected void createBestTokenMap()
WordPruningBreadthFirstSearchManager
createBestTokenMap
in class WordPruningBreadthFirstSearchManager
protected void setBestToken(Token token, SearchState state)
WordPruningBreadthFirstSearchManager
setBestToken
in class WordPruningBreadthFirstSearchManager
token
- the best tokenstate
- the stateprotected Token getBestToken(SearchState state)
WordPruningBreadthFirstSearchManager
getBestToken
in class WordPruningBreadthFirstSearchManager
state
- the state of interest