Klassen-SpeechTranslationModel

Informationen zum Sprachübersetzungsmodell.

Elemente

Name

Syntax: public const SPXSTRING & Name;

Modellname.

SourceLanguages

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

Quellsprachen, die vom Modell unterstützt werden.

TargetLanguages

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

Zielsprachen, die vom Modell unterstützt werden.

Pfad

Syntax: public const SPXSTRING & Path;

Modellpfad (nur gültig für Offlinemodelle).

Version

Syntax: public const SPXSTRING & Version;

Modellversion.

SpeechTranslationModel

Syntax: public inline explicit SpeechTranslationModel ( SPXSPEECHRECOMODELHANDLE hmodel );

Erstellt eine neue Instanz mithilfe des bereitgestellten Handles.

Die Parameter

  • hmodel Modellhandle.

Operator SPXSPEECHRECOMODELHANDLE

Syntax: public inline explicit operator SPXSPEECHRECOMODELHANDLE ( );

Expliziter Konvertierungsoperator.

Rückgaben

Modellhandle.

~SpeechTranslationModel

Syntax: public inline ~SpeechTranslationModel ( );

Destruktor.