Click or drag to resize

WordData Class

This data class contains information about the custom word data.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1WordData

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class WordData

The WordData type exposes the following members.

Constructors
  NameDescription
Public methodWordData
Initializes a new instance of the WordData class
Top
Properties
  NameDescription
Public propertydisplay_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.
Public propertyerror
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.
Public propertysounds_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.
Public propertysource
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.
Public propertyword
A custom word from the custom model. The spelling of the word is used to train the model.
Top
See Also