SpeechToTextDeleteCustomCorpus Method |
Deletes an existing corpus from a custom language model. The service removes any out-of-vocabulary (OOV) words associated with the corpus from the custom model's words resource unless they were also added by another corpus or they have been modified in some way with the POST /v1/customizations/{customization_id}/words or PUT /v1/customizations/{customization_id}/words/{word_name} method. Removing a corpus 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 corpus 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 DeleteCustomCorpus(
SpeechToTextSuccessCallback<bool> successCallback,
SpeechToTextFailCallback failCallback,
string customizationID,
string corpusName,
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. - 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.DeleteCustomCorpus(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