EmbeddedSpeechConfig.fromPaths(List<String> paths) Method
public static final EmbeddedSpeechConfig fromPaths(List<String> paths)
Creates an instance of the embedded speech config with specified offline model paths for speech recognition and/or synthesis.
Parameters
- paths
- List<String>
he 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
final EmbeddedSpeechConfig
An embedded speech config instance.