vsdk  7.1.1
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  RecognizerEventCode { RecognizerEventCode::RECOGNIZER_STARTED, RecognizerEventCode::RECOGNIZER_STOPPED, RecognizerEventCode::SPEECH_DETECTED, RecognizerEventCode::SILENCE_DETECTED }
 
enum  RecognizerErrorCode { RecognizerErrorCode::UNEXPECTED_ERROR, RecognizerErrorCode::UNSUPPORTED_RESULT_TYPE, RecognizerErrorCode::CANNOT_UPDATE_UPTIME, RecognizerErrorCode::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

Enumerator
RECOGNIZER_STARTED 

Recognizer started.

RECOGNIZER_STOPPED 

Recognizer stopped.

SPEECH_DETECTED 

Recognizer detected speech.

SILENCE_DETECTED 

Recognizer detected silence.

◆ RecognizerErrorCode

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.