TextToSpeechAddCustomizationWords Method |
Adds one or more words and their translations to the custom voice model with the specified `customization_id`. A custom model can contain no more than 20,000 entries. Only the owner of a custom voice model can use this method to add words to the model.
Note: This method is currently a beta release that supports US English only.
Namespace:
IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddCustomizationWords(
TextToSpeechSuccessCallback<bool> successCallback,
TextToSpeechFailCallback failCallback,
string customizationID,
Words words,
Dictionary<string, Object> customData = null
)
Parameters
- successCallback
- Type: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1TextToSpeechSuccessCallbackBoolean
The success callback. - failCallback
- Type: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1TextToSpeechFailCallback
The fail callback. - customizationID
- Type: SystemString
The identifier of the custom voice model to be updated. - words
- Type: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1Words
Words object to add to custom voice model. - customData (Optional)
- Type: System.Collections.GenericDictionaryString, Object
Optional custom data.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.AddCustomizationWords(IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.FailCallback,System.String,IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.Words,System.Collections.Generic.Dictionary{System.String,System.Object})"]
See Also