| Modifier and Type | Method and Description |
|---|---|
Word |
Token.getWord()
Returns the word of this Token, the search state is a WordSearchState.
|
| Modifier and Type | Method and Description |
|---|---|
Word |
WordSequence.getWord(int n)
Returns the n-th word in this sequence
|
Word[] |
WordSequence.getWords() |
| Modifier and Type | Method and Description |
|---|---|
WordSequence |
WordSequence.addWord(Word word,
int maxSize)
Returns a new word sequence with the given word added to the sequence
|
| Constructor and Description |
|---|
WordSequence(Word... words)
Constructs a word sequence with the given word IDs
|
| Constructor and Description |
|---|
WordSequence(java.util.List<Word> list)
Constructs a word sequence from the list of words
|
| Modifier and Type | Field and Description |
|---|---|
static Word |
Word.UNKNOWN
The Word representing the unknown word.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,Word> |
TextDictionary.wordDictionary |
| Modifier and Type | Method and Description |
|---|---|
Word[] |
TextDictionary.getFillerWords()
Gets the set of all filler words in the dictionary
|
Word[] |
Dictionary.getFillerWords()
Gets the set of all filler words in the dictionary
|
Word |
TextDictionary.getSentenceEndWord()
Returns the sentence end word.
|
Word |
Dictionary.getSentenceEndWord()
Returns the sentence end word.
|
Word |
TextDictionary.getSentenceStartWord()
Returns the sentence start word.
|
Word |
Dictionary.getSentenceStartWord()
Returns the sentence start word.
|
Word |
TextDictionary.getSilenceWord()
Returns the silence word.
|
Word |
Dictionary.getSilenceWord()
Returns the silence word.
|
Word |
Pronunciation.getWord()
Retrieves the word that this Pronunciation object represents.
|
Word |
TextDictionary.getWord(java.lang.String text)
Returns a Word object based on the spelling and its classification.
|
Word |
Dictionary.getWord(java.lang.String text)
Returns a Word object based on the spelling and its classification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Word.compareTo(Word other) |
void |
Pronunciation.setWord(Word word)
Sets the word this pronunciation represents.
|
| Modifier and Type | Method and Description |
|---|---|
Word[] |
AlternativeState.getAlternative()
Gets the word associated with this state
|
Word |
SentenceHMMState.getAssociatedWord()
Returns the word associated with the particular unit
|
Word |
WordState.getWord()
Gets the word associated with this state
|
| Modifier and Type | Method and Description |
|---|---|
Word |
ClassMap.getClassAsWord(java.lang.String text) |
Word[] |
ClassPresentingDictionary.getFillerWords() |
Word |
ClassPresentingDictionary.getSentenceEndWord() |
Word |
ClassPresentingDictionary.getSentenceStartWord() |
Word |
ClassPresentingDictionary.getSilenceWord() |
Word |
ClassPresentingDictionary.getWord(java.lang.String text)
This method disguises all classes as words.
|
| Modifier and Type | Method and Description |
|---|---|
Word[][] |
GrammarNode.getAlternatives()
Retrieves the words associated with this grammar node
|
Word |
GrammarNode.getWord()
Retrieve the single word associated with this grammar
|
Word[] |
GrammarNode.getWords(int alternative)
Retrieves the words associated with a specific alternative
|
| Constructor and Description |
|---|
GrammarNode(int id,
Word[][] alternatives)
Creates a GrammarNode with the given ID, Words.
|
| Modifier and Type | Method and Description |
|---|---|
int |
LargeNGramModel.getWordID(Word word)
Returns the ID of the given word.
|
boolean |
LargeNGramModel.hasWord(Word w)
Returns true if the language model contains the given word
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<Word,java.lang.Integer> |
NgramTrieModel.unigramIDMap |
| Modifier and Type | Method and Description |
|---|---|
Word |
WordResult.getWord()
Gets the word object associated with the given result.
|
Word |
Node.getWord()
Get the word associated with this Node
|
| Modifier and Type | Method and Description |
|---|---|
protected Node |
Lattice.addNode(java.lang.String id,
Word word,
long beginTime,
long endTime)
Add a Node with a given ID that represents the theory that a given word
was spoken over a given period of time.
|
| Constructor and Description |
|---|
Node(java.lang.String id,
Word word,
long beginTime,
long endTime)
Create a new Node with given ID.
|
Node(Word word,
long beginTime,
long endTime)
Create a new Node
|
WordResult(Word w,
TimeFrame timeFrame,
double score,
double posterior)
Construct a word result with full information.
|