public class Corpus extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Corpus.Status
Corpus Status.
|
Constructor and Description |
---|
Corpus() |
Modifier and Type | Method and Description |
---|---|
String |
getError()
Gets the error.
|
String |
getName()
Gets the name.
|
Integer |
getOutOfVocabularyWords()
The number of OOV words in the corpus.
|
Corpus.Status |
getStatus()
Gets the status.
|
Integer |
getTotalWords()
The total number of words in the corpus.
|
void |
setError(String error)
Sets the error.
|
void |
setName(String name)
Sets the name.
|
void |
setOutOfVocabularyWords(Integer outOfVocabularyWOrds)
Sets the number of OOV words in the corpus.
|
void |
setStatus(Corpus.Status status)
Sets the status.
|
void |
setTotalWords(Integer totalWords)
Sets the total words.
|
equals, hashCode, toString
public String getError()
public String getName()
public Integer getOutOfVocabularyWords()
public Corpus.Status getStatus()
public Integer getTotalWords()
public void setError(String error)
error
- the new errorpublic void setName(String name)
name
- the new namepublic void setOutOfVocabularyWords(Integer outOfVocabularyWOrds)
outOfVocabularyWOrds
- the new out of vocabulary wordspublic void setStatus(Corpus.Status status)
status
- the new statuspublic void setTotalWords(Integer totalWords)
totalWords
- the new total wordsCopyright © 2015–2016 IBM Watson. All rights reserved.