public class Corpus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Corpus.Status
The status of the corpus:
* `analyzed`: The service successfully analyzed the corpus.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
error |
protected java.lang.String |
name |
protected java.lang.Long |
outOfVocabularyWords |
protected java.lang.String |
status |
protected java.lang.Long |
totalWords |
Constructor and Description |
---|
Corpus() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Gets the error.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.Long |
getOutOfVocabularyWords()
Gets the outOfVocabularyWords.
|
java.lang.String |
getStatus()
Gets the status.
|
java.lang.Long |
getTotalWords()
Gets the totalWords.
|
protected java.lang.String name
@SerializedName(value="total_words") protected java.lang.Long totalWords
@SerializedName(value="out_of_vocabulary_words") protected java.lang.Long outOfVocabularyWords
protected java.lang.String status
protected java.lang.String error
public java.lang.String getName()
public java.lang.Long getTotalWords()
public java.lang.Long getOutOfVocabularyWords()
public java.lang.String getStatus()
public java.lang.String getError()