WordData Class |
Namespace: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
public class WordData
The WordData type exposes the following members.
Name | Description | |
---|---|---|
display_as |
The spelling of the custom word that the service uses to display the word in a transcript. The field contains an empty string if no display-as value is provided for the word, in which case the word is displayed as it is spelled.
| |
error |
If the service discovered a problem with the custom word's definition that you need to correct, a message that describes the problem, for example: Numbers are not allowed in sounds-like. You must correct the error before you can train the model.
| |
sounds_like |
An array of pronunciations for the custom word. The array can include the sounds-like pronunciation automatically generated by the service if none is provided for the word; the service adds this pronunciation when it finishes pre-processing the word.
| |
source |
An array of sources that describes how the word was added to the custom model's words resource. For OOV words added from a corpus, includes the name of the corpus; if the word was added by multiple corpora, the names of all corpora are listed. If the word was modified or added by the user directly, the field includes the string user.
| |
word |
A custom word from the custom model. The spelling of the word is used to train the model.
|