Click or drag to resize

TextToSpeechAddCustomizationWord Method

Adds a single word and its translation 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 a word 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
C#
public bool AddCustomizationWord(
	TextToSpeechSuccessCallback<bool> successCallback,
	TextToSpeechFailCallback failCallback,
	string customizationID,
	string word,
	string translation,
	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.
word
Type: SystemString

[Missing <param name="word"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.AddCustomizationWord(IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.FailCallback,System.String,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

translation
Type: SystemString

[Missing <param name="translation"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.AddCustomizationWord(IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.FailCallback,System.String,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

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.AddCustomizationWord(IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.FailCallback,System.String,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

See Also