Dela via


klass SpeechRecognitionModel

Information om taligenkänningsmodell.

Medlemmar

Namn

Syntax: public const SPXSTRING & Name;

Modellnamn.

Locales

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

Nationella inställningar för modellen i BCP-47-format.

Väg

Syntax: public const SPXSTRING & Path;

Modellsökväg (endast giltig för offlinemodeller).

Version

Syntax: public const SPXSTRING & Version;

Modellversion.

SpeechRecognitionModel

Syntax: public inline explicit SpeechRecognitionModel ( SPXSPEECHRECOMODELHANDLE hmodel );

Skapar en ny instans med hjälp av det angivna handtaget.

Parameterar

  • hmodel modellhandtag.

operatorN SPXSPEECHRECOMODELHANDLE

Syntax: public inline explicit operator SPXSPEECHRECOMODELHANDLE ( );

Explicit konverteringsoperator.

Återlämning

Modellhandtag.

~SpeechRecognitionModel

Syntax: public inline ~SpeechRecognitionModel ( );

Destructor.