|
JSAPI 2.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResultStateException | |
---|---|
javax.speech.recognition | Provides interfaces and classes for using speech Recognizer s. |
Uses of ResultStateException in javax.speech.recognition |
---|
Methods in javax.speech.recognition that throw ResultStateException | |
---|---|
ResultToken[] |
FinalResult.getAlternativeTokens(int nBest)
Gets the token sequence for the Nth-best alternative. |
AudioSegment |
FinalResult.getAudio()
Gets the audio for the complete utterance of this Result . |
AudioSegment |
FinalResult.getAudio(ResultToken fromToken,
ResultToken toToken)
Gets the audio for a token or sequence of tokens. |
int |
FinalResult.getConfidenceLevel()
Gets the confidence level for the best token sequence. |
int |
FinalResult.getConfidenceLevel(int nBest)
Gets the confidence level for the Nth-best alternative. |
Grammar |
FinalResult.getGrammar(int nBest)
Returns the Grammar matched by the Nth-best alternative. |
int |
FinalResult.getNumberAlternatives()
Returns the number of alternatives for this Result . |
RuleReference |
FinalRuleResult.getRuleReference(int nBest)
Returns the RuleReference matched by the Nth-best alternative. |
Object[] |
FinalRuleResult.getTags(int nBest)
Returns the list of tags matched by the token sequence for the Nth-best alternative. |
Object[] |
FinalResult.getTags(int nBest)
Returns the list of tags matched by the token sequence for the Nth-best alternative. |
boolean |
FinalResult.isAudioAvailable()
Tests whether audio data is available for this Result . |
boolean |
FinalResult.isTrainingInfoAvailable()
Returns true if the Recognizer has
training information available for this Result . |
RuleParse |
FinalRuleResult.parse(int nBest)
Returns the RuleParse corresponding to the Nth-best alternative. |
void |
FinalResult.releaseAudio()
Releases the audio for this Result . |
void |
FinalResult.releaseTrainingInfo()
Releases the training information for this Result . |
void |
FinalResult.tokenCorrection(String[] correctTokens,
ResultToken fromToken,
ResultToken toToken,
int correctionType)
Informs the Recognizer of a correction to
one or more tokens in a finalized Result
so that the Recognizer can improve itself. |
|
JSAPI 2.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
JavaTM Speech API 2.0,
Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.