Click or drag to resize

Corpus Class

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

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 Corpus

The Corpus type exposes the following members.

Constructors
  NameDescription
Public methodCorpus
Initializes a new instance of the Corpus class
Top
Properties
  NameDescription
Public propertyerror
If the status of the corpus is undetermined, the following message: Analysis of corpus 'name' failed. Please try adding the corpus again by setting the 'allow_overwrite' flag to 'true'.
Public propertyname
The name of the corpus.
Public propertyout_of_vocabulary_words
The number of OOV words in the corpus. The value is 0 while the corpus is being processed.
Public propertystatus
The status of the corpus: analyzed indicates that the service has successfully analyzed the corpus; the custom model can be trained with data from the corpus. being_processed indicates that the service is still analyzing the corpus; the service cannot accept requests to add new corpora or words, or to train the custom model. undetermined indicates that the service encountered an error while processing the corpus. = ['analyzed', 'being_processed', 'undetermined']
Public propertytotal_words
The total number of words in the corpus. The value is 0 while the corpus is being processed.
Top
See Also