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 |
---|---|
java.lang.String |
getError()
Gets the error.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.Integer |
getOutOfVocabularyWords()
The number of OOV words in the corpus.
|
Corpus.Status |
getStatus()
Gets the status.
|
java.lang.Integer |
getTotalWords()
The total number of words in the corpus.
|
void |
setError(java.lang.String error)
Sets the error.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setOutOfVocabularyWords(java.lang.Integer outOfVocabularyWOrds)
Sets the number of OOV words in the corpus.
|
void |
setStatus(Corpus.Status status)
Sets the status.
|
void |
setTotalWords(java.lang.Integer totalWords)
Sets the total words.
|
equals, hashCode, toString
public java.lang.String getError()
public java.lang.String getName()
public java.lang.Integer getOutOfVocabularyWords()
public Corpus.Status getStatus()
public java.lang.Integer getTotalWords()
public void setError(java.lang.String error)
error
- the new errorpublic void setName(java.lang.String name)
name
- the new namepublic void setOutOfVocabularyWords(java.lang.Integer outOfVocabularyWOrds)
outOfVocabularyWOrds
- the new out of vocabulary wordspublic void setStatus(Corpus.Status status)
status
- the new statuspublic void setTotalWords(java.lang.Integer totalWords)
totalWords
- the new total words