SpeechToTextAddCustomCorpus Method |
Overload method for AddCustomCorpus that takes string training data.
Namespace:
IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddCustomCorpus(
SpeechToTextSuccessCallback<bool> successCallback,
SpeechToTextFailCallback failCallback,
string customizationID,
string corpusName,
bool allowOverwrite,
string trainingData,
Dictionary<string, Object> customData = null
)
Parameters
- successCallback
- Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextSuccessCallbackBoolean
The success callback. - failCallback
- Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextFailCallback
The fail callback. - customizationID
- Type: SystemString
The customization ID with the corpus to be deleted. - corpusName
- Type: SystemString
The corpus name to be deleted. - allowOverwrite
- Type: SystemBoolean
Allow overwriting of corpus data. - trainingData
- Type: SystemString
String data for training data. - customData (Optional)
- Type: System.Collections.GenericDictionaryString, Object
Optional customization data.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.AddCustomCorpus(IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.FailCallback,System.String,System.String,System.Boolean,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]
See Also