LogLevel defines logging levels used by the SDK.
These constants indicate different states recognizer can assume.
SpeakingTask defines a type of speaking task that will be handled. It is primarily used to indicate to methods that create decoding graphs what type of task they need to handle, so that appropiate customization can be done when creating language model and decoding graph.
VADParameter constants correspond to different Voice Activity Detection parameters that are used for endpointing during recognition. You can change values of these parameters using setVADParameters method.
AlternativePronunciation is a class that defines mapping beween a word and its phonetic pronunciation. Phonetic pronunciation is a space separated string of phonemes that define how the word is pronounced. The names of the phonemes are defined in ASR Bundle lang/phones.txt file. For some languages for which this mapping is not deterministic, ASR Bundle will contain a large lookup table in lang/lexicon.txt file.
ASRPhone represents a phone (speech segment that possesses distinct physical or perceptual properties and serves as the basic unit of phonetic speech analysis). ASR Bundle used to initialize the recognizer will contain a list of phones that were used to train the models. In the context of KeenASR SDK, each recognized word is represented via ASRWord object, which will contain an array of ASRPhone object that correspond to the most likely phonetic transcription of the given word.
ASRResponse contains various metadata related to the single interaction with the speech recognition system, from calling startListening until the recognizer stopped listening. It is provided to the application via onFinalResponse callback method.
ASRResult represents results of the recognition.
ASRWord provides word text, timing information, and the confidence of the word.
KeenASR class provides a high-level JavaScript module that provides core ASR functionality.