Share via


EmbeddedSpeechConfig.FromPaths(String[]) Method

Definition

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

public static Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig FromPaths (string[] paths);
static member FromPaths : string[] -> Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig
Public Shared Function FromPaths (paths As String()) As EmbeddedSpeechConfig

Parameters

paths
String[]

The folder paths to search for offline models. These can be root paths under which several models are located in subfolders, or direct paths to specific model folders.

Returns

A new embedded speech config instance.

Applies to