vsdk 8.1.0
 
Loading...
Searching...
No Matches
Vsdk::Asr Namespace Reference

Classes

class  DynamicModel
 Model with dynamic data added at runtime. More...
 
class  Engine
 Responsible for creation of Recognizer and DynamicModel instances. More...
 
class  Recognizer
 ConsumerModule that performs Automatic Speech Recognition. More...
 

Typedefs

using DynamicModelPtr = std::shared_ptr< DynamicModel >
 
using EnginePtr = std::shared_ptr< Engine >
 
using RecognizerPtr = std::shared_ptr< Recognizer >
 

Enumerations

enum class  RecognizerEventCode { RECOGNIZER_STARTED , RECOGNIZER_STOPPED , SPEECH_DETECTED , SILENCE_DETECTED }
 
enum class  RecognizerErrorCode { UNEXPECTED_ERROR , UNSUPPORTED_RESULT_TYPE , CANNOT_UPDATE_UPTIME , NO_MODEL_SET }
 

Typedef Documentation

◆ DynamicModelPtr

using Vsdk::Asr::DynamicModelPtr = typedef std::shared_ptr<DynamicModel>

◆ EnginePtr

using Vsdk::Asr::EnginePtr = typedef std::shared_ptr<Engine>

◆ RecognizerPtr

using Vsdk::Asr::RecognizerPtr = typedef std::shared_ptr<Recognizer>

Enumeration Type Documentation

◆ RecognizerEventCode

enum class Vsdk::Asr::RecognizerEventCode
strong
Enumerator
RECOGNIZER_STARTED 

Recognizer started.

RECOGNIZER_STOPPED 

Recognizer stopped.

SPEECH_DETECTED 

Recognizer detected speech.

SILENCE_DETECTED 

Recognizer detected silence.

◆ RecognizerErrorCode

enum class Vsdk::Asr::RecognizerErrorCode
strong
Enumerator
UNEXPECTED_ERROR 

Something unexpected happened, check the message for more info.

UNSUPPORTED_RESULT_TYPE 

Native engine returned an unsupported type of result.

CANNOT_UPDATE_UPTIME 

upTime couldn't be updated with the provided audio buffer

NO_MODEL_SET 

Tried to run the recognizer without having set a model prior.