Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Speech translation model information.
Members
Name
Syntax: public const SPXSTRING & Name;
Model name.
SourceLanguages
Syntax: public const std::vector< SPXSTRING > & SourceLanguages;
Source languages that the model supports.
TargetLanguages
Syntax: public const std::vector< SPXSTRING > & TargetLanguages;
Target languages that the model supports.
Path
Syntax: public const SPXSTRING & Path;
Model path (only valid for offline models).
Version
Syntax: public const SPXSTRING & Version;
Model version.
SpeechTranslationModel
Syntax: public inline explicit SpeechTranslationModel ( 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.
~SpeechTranslationModel
Syntax: public inline ~SpeechTranslationModel ( );
Destructor.