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.
Class that defines source language configuration, added in 1.8.0.
Members
operator SPXSOURCELANGCONFIGHANDLE
Syntax: public inline explicit operator SPXSOURCELANGCONFIGHANDLE ( ) const;
Internal operator used to get underlying handle value.
Returns
A handle.
~SourceLanguageConfig
Syntax: public inline virtual ~SourceLanguageConfig ( );
Destructs the object.
FromLanguage
Syntax: public inline static std::shared_ptr< SourceLanguageConfig > FromLanguage ( const std::string & language );
Creates an instance of the SourceLanguageConfig with source language.
Parameters
language
The source language
Returns
A shared pointer to the new SourceLanguageConfig instance.
FromLanguage
Syntax: public inline static std::shared_ptr< SourceLanguageConfig > FromLanguage ( const std::string & language , const std::string & endpointId );
Creates an instance of the SourceLanguageConfig with source language and custom endpoint id. A custom endpoint id corresponds to custom models.
Parameters
language
The source languageendpointId
The custom endpoint id
Returns
A shared pointer to the new SourceLanguageConfig instance.