Class SpeechRecognitionModel
语音识别模型信息。
成员
名字
语法:public const SPXSTRING & Name;
模型名称。
地区
语法:public const std::vector< SPXSTRING > & Locales;
BCP-47 格式的模型区域设置。
路径
语法:public const SPXSTRING & Path;
模型路径(仅适用于脱机模型)。
版本
语法:public const SPXSTRING & Version;
模型版本。
SpeechRecognitionModel
语法:public inline explicit SpeechRecognitionModel ( SPXSPEECHRECOMODELHANDLE hmodel );
使用提供的句柄创建新实例。
参数
-
hmodel
模型句柄。
运算符 SPXSPEECHRECOMODELHANDLE
语法:public inline explicit operator SPXSPEECHRECOMODELHANDLE ( );
显式转换运算符。
退货
模型句柄。
~SpeechRecognitionModel
语法:public inline ~SpeechRecognitionModel ( );
析构函数。