public class EnrichmentOptions extends GenericModel
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnrichmentOptions.Language
If provided, then do not attempt to detect the language of the input document.
|
| Constructor and Description |
|---|
EnrichmentOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getExtract()
Gets the extract.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getModel()
Gets the model.
|
java.lang.Boolean |
isHierarchicalTypedRelations()
Gets the hierarchicalTypedRelations.
|
java.lang.Boolean |
isQuotations()
Gets the quotations.
|
java.lang.Boolean |
isSentiment()
Gets the sentiment.
|
java.lang.Boolean |
isShowSourceText()
Gets the showSourceText.
|
void |
setExtract(java.util.List<java.lang.String> extract)
Sets the extract.
|
void |
setHierarchicalTypedRelations(java.lang.Boolean hierarchicalTypedRelations)
Sets the hierarchicalTypedRelations.
|
void |
setLanguage(java.lang.String language)
Sets the language.
|
void |
setModel(java.lang.String model)
Sets the model.
|
void |
setQuotations(java.lang.Boolean quotations)
Sets the quotations.
|
void |
setSentiment(java.lang.Boolean sentiment)
Sets the sentiment.
|
void |
setShowSourceText(java.lang.Boolean showSourceText)
Sets the showSourceText.
|
equals, hashCode, toStringpublic java.util.List<java.lang.String> getExtract()
public java.lang.Boolean isSentiment()
public java.lang.Boolean isQuotations()
public java.lang.Boolean isShowSourceText()
public java.lang.Boolean isHierarchicalTypedRelations()
public java.lang.String getModel()
public java.lang.String getLanguage()
public void setExtract(java.util.List<java.lang.String> extract)
extract - the new extractpublic void setSentiment(java.lang.Boolean sentiment)
sentiment - the new sentimentpublic void setQuotations(java.lang.Boolean quotations)
quotations - the new quotationspublic void setShowSourceText(java.lang.Boolean showSourceText)
showSourceText - the new showSourceTextpublic void setHierarchicalTypedRelations(java.lang.Boolean hierarchicalTypedRelations)
hierarchicalTypedRelations - the new hierarchicalTypedRelationspublic void setModel(java.lang.String model)
model - the new modelpublic void setLanguage(java.lang.String language)
language - the new language