edu.cmu.sphinx.linguist
Interface WordSearchState

All Superinterfaces:
SearchState
All Known Implementing Classes:
LexTreeLinguist.LexTreeEndWordState, LexTreeLinguist.LexTreeWordState, PronunciationState

public interface WordSearchState
extends SearchState

Represents a single word state in a language search space


Method Summary
 Pronunciation getPronunciation()
          Gets the word (as a pronunciation)
 boolean isWordStart()
          Returns true if this WordSearchState indicates the start of a word.
 
Methods inherited from interface edu.cmu.sphinx.linguist.SearchState
getLexState, getOrder, getSignature, getSuccessors, getWordHistory, isEmitting, isFinal, toPrettyString
 

Method Detail

getPronunciation

public Pronunciation getPronunciation()
Gets the word (as a pronunciation)

Returns:
the word

isWordStart

public boolean isWordStart()
Returns true if this WordSearchState indicates the start of a word. Returns false if this WordSearchState indicates the end of a word.

Returns:
true if this WordSearchState indicates the start of a word, false if this WordSearchState indicates the end of a word