public class Customization extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Customization.Status
Customization Status.
|
static class |
Customization.WordTypeToAdd
The type of words from the custom model's words resource on which to train the model:
ALL (the default): trains the model on all new words, regardless of whether they were extracted from corpora or
were added or modified by the user.
USER: trains the model only on new words that were added or modified by the user; the model is not trained on
new words extracted from corpora.
|
Constructor and Description |
---|
Customization() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseModelName()
Gets the base model name.
|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getDialect()
Gets the dialect of the language that is to be used with the custom model.
|
java.lang.String |
getId()
Gets the customization id.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getOwner()
Gets the owner.
|
java.lang.Integer |
getProgress()
Gets the progress.
|
Customization.Status |
getStatus()
Gets the status.
|
java.lang.String |
getWarnings()
Gets the warnings.
|
void |
setBaseModelName(java.lang.String baseModelName)
Sets the base model name.
|
void |
setCreated(java.util.Date created)
Sets the created.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setDialect(java.lang.String dialect)
Sets the dialect of the language that is to be used with the custom model.
|
void |
setId(java.lang.String id)
Sets the customization id.
|
void |
setLanguage(java.lang.String language)
Sets the language.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setOwner(java.lang.String owner)
Sets the owner.
|
void |
setProgress(java.lang.Integer progress)
Sets the progress.
|
void |
setStatus(Customization.Status status)
Sets the status.
|
void |
setWarnings(java.lang.String warnings)
Sets the warnings.
|
equals, hashCode, toString
public java.lang.String getId()
public java.lang.String getDialect()
public void setDialect(java.lang.String dialect)
dialect
- the new dialectpublic void setId(java.lang.String id)
id
- The customization idpublic java.util.Date getCreated()
public void setCreated(java.util.Date created)
created
- The createdpublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- The languagepublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner
- The ownerpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The descriptionpublic java.lang.String getBaseModelName()
public void setBaseModelName(java.lang.String baseModelName)
baseModelName
- The base_model_namepublic Customization.Status getStatus()
public void setStatus(Customization.Status status)
status
- The statuspublic java.lang.Integer getProgress()
public void setProgress(java.lang.Integer progress)
progress
- The progresspublic java.lang.String getWarnings()
public void setWarnings(java.lang.String warnings)
warnings
- The warnings