|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface allows accessing the speech recognition results.
| Method Summary | |
ResultAlternative |
getAlternative(int i)
Access the recognition result alternative and addiitonal information such as tags, rule type, etc.. |
byte[] |
getNLSML()
return the NLSML result as a byte array |
int |
getNumAlternatives()
returns the number of alternatives, can be 0 if nothing was found |
ASRParsedRule |
getParsedRule(int i)
Deprecated. instead use the method getAlternative(int i) |
ResultToken[] |
getPhrase(int i)
Deprecated. instead use the method getAlternative(int i) |
String |
getResultXML()
Deprecated. instead use the method getNLSML() |
byte[] |
getUtterance()
returns the utterance audio data or null if not available |
Date |
getUtteranceBegin()
return start time of the input as a Date |
Date |
getUtteranceEnd()
return stop time of the input as a Date |
String |
getUtteranceLocation()
returns a file name or an URL name indicating where the utterance is stored. |
| Method Detail |
public ResultAlternative getAlternative(int i)
public ResultToken[] getPhrase(int i)
public ASRParsedRule getParsedRule(int i)
public int getNumAlternatives()
public byte[] getUtterance()
public String getUtteranceLocation()
public Date getUtteranceBegin()
public Date getUtteranceEnd()
public String getResultXML()
getNLSML()
public byte[] getNLSML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||