Package com.vivoka.vsdk.asr.utils
Class AsrResultItem
java.lang.Object
com.vivoka.vsdk.asr.utils.AsrResultItem
- Direct Known Subclasses:
AsrResultTag,AsrResultTerminal
Abstract base class representing a recognized item in an ASR hypothesis.
This item can be either a terminal (spoken word) or a tag (semantic group).
-
Field Summary
FieldsModifier and TypeFieldDescriptionintStart timestamp (in ms) of the recognized item in the audio stream.intConfidence of the item.intEnd timestamp (in ms) of the recognized item in the audio stream.The type of item: either "terminal" or "tag". -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The type of item: either "terminal" or "tag". -
confidence
public int confidenceConfidence of the item. Defaults to -1 if not explicitly set. -
beginTime
public int beginTimeStart timestamp (in ms) of the recognized item in the audio stream. -
endTime
public int endTimeEnd timestamp (in ms) of the recognized item in the audio stream.
-
-
Constructor Details
-
AsrResultItem
public AsrResultItem()
-
-
Method Details