EmbeddedSpeechConfig.fromPath(String path) Method

public static final EmbeddedSpeechConfig fromPath(String path)

Creates an instance of the embedded speech config with a specified offline model path for speech recognition and/or synthesis.

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

An embedded speech config instance.

Applies to