SpeechToTextCreateInstance Method (AudioFormat, IEnumerableString, WordDetectionMode) |
Initializes a speech recognizer and STT instance.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static SpeechToText CreateInstance(
AudioFormat audioFormat,
IEnumerable<string> choices,
WordDetectionMode mode
)
Public Shared Function CreateInstance (
audioFormat As AudioFormat,
choices As IEnumerable(Of String),
mode As WordDetectionMode
) As SpeechToText
public:
static SpeechToText^ CreateInstance(
AudioFormat^ audioFormat,
IEnumerable<String^>^ choices,
WordDetectionMode mode
)
static member CreateInstance :
audioFormat : AudioFormat *
choices : IEnumerable<string> *
mode : WordDetectionMode -> SpeechToText
Parameters
- audioFormat
- Type: Ozeki.MediaAudioFormat
Media format of the audio stream. - choices
- Type: System.Collections.GenericIEnumerableString
Words to recognize. - mode
- Type: Ozeki.MediaWordDetectionMode
The recognition mode for word detection
Return Value
Type:
SpeechToTextSee Also