SpeechToTextDeleteCustomWord Method |
Deletes a custom word from a custom language model. You can remove any word that you added to the custom model's words resource via any means. However, if the word also exists in the service's base vocabulary, the service removes only the custom pronunciation for the word; the word remains in the base vocabulary.
Removing a custom word does not affect the custom model until you train the model with the POST /v1/customizations/{customization_id}/train method.Only the owner of a custom model can use this method to delete a word from the model.
Note: This method is currently a beta release that is available for US English only.
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 DeleteCustomWord(
SpeechToTextSuccessCallback<bool> successCallback,
SpeechToTextFailCallback failCallback,
string customizationID,
string word,
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. - word
- Type: SystemString
The word to be deleted. - 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.DeleteCustomWord(IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.SuccessCallback{System.Boolean},IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.FailCallback,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]
See Also