Click or drag to resize

SpeechToTextGetModel Method

This function retrieves a specified languageModel.

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetModel(
	SpeechToTextSuccessCallback<Model> successCallback,
	SpeechToTextFailCallback failCallback,
	string modelID,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextSuccessCallbackModel
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextFailCallback
The fail callback.
modelID
Type: SystemString
The name of the model to get.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object
Custom data.

Return Value

Type: Boolean
Returns true if request has been made.
See Also