class SpeechRecognitionModel

Speech recognition model information.

Members

Name

Syntax: public const SPXSTRING & Name;

Model name.

Locales

Syntax: public const std::vector< SPXSTRING > & Locales;

Locales of the model in BCP-47 format.

Path

Syntax: public const SPXSTRING & Path;

Model path (only valid for offline models).

Version

Syntax: public const SPXSTRING & Version;

Model version.

SpeechRecognitionModel

Syntax: public inline explicit SpeechRecognitionModel ( SPXSPEECHRECOMODELHANDLE hmodel );

Creates a new instance using the provided handle.

Parameters

  • hmodel Model handle.

operator SPXSPEECHRECOMODELHANDLE

Syntax: public inline explicit operator SPXSPEECHRECOMODELHANDLE ( );

Explicit conversion operator.

Returns

Model handle.

~SpeechRecognitionModel

Syntax: public inline ~SpeechRecognitionModel ( );

Destructor.