EmbeddedSpeechConfig.FromPath(String) Method

Definition

Creates an instance of the embedded speech config with a specified offline model path.

public static Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig FromPath (string path);
static member FromPath : string -> Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig
Public Shared Function FromPath (path As String) As EmbeddedSpeechConfig

Parameters

path
String

The folder path to search for offline models. This can be a root path under which several models are located in subfolders, or a direct path to a specific model folder.

Returns

A new embedded speech config instance.

Applies to