public static class NluEnrichmentFeatures.Builder
extends java.lang.Object
Constructor and Description |
---|
NluEnrichmentFeatures.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
NluEnrichmentFeatures |
build()
Builds a NluEnrichmentFeatures.
|
NluEnrichmentFeatures.Builder |
categories(NluEnrichmentCategories categories)
Set the categories.
|
NluEnrichmentFeatures.Builder |
emotion(NluEnrichmentEmotion emotion)
Set the emotion.
|
NluEnrichmentFeatures.Builder |
entities(NluEnrichmentEntities entities)
Set the entities.
|
NluEnrichmentFeatures.Builder |
keywords(NluEnrichmentKeywords keywords)
Set the keywords.
|
NluEnrichmentFeatures.Builder |
relations(NluEnrichmentRelations relations)
Set the relations.
|
NluEnrichmentFeatures.Builder |
semanticRoles(NluEnrichmentSemanticRoles semanticRoles)
Set the semanticRoles.
|
NluEnrichmentFeatures.Builder |
sentiment(NluEnrichmentSentiment sentiment)
Set the sentiment.
|
public NluEnrichmentFeatures.Builder()
public NluEnrichmentFeatures build()
public NluEnrichmentFeatures.Builder keywords(NluEnrichmentKeywords keywords)
keywords
- the keywordspublic NluEnrichmentFeatures.Builder entities(NluEnrichmentEntities entities)
entities
- the entitiespublic NluEnrichmentFeatures.Builder sentiment(NluEnrichmentSentiment sentiment)
sentiment
- the sentimentpublic NluEnrichmentFeatures.Builder emotion(NluEnrichmentEmotion emotion)
emotion
- the emotionpublic NluEnrichmentFeatures.Builder categories(NluEnrichmentCategories categories)
categories
- the categoriespublic NluEnrichmentFeatures.Builder semanticRoles(NluEnrichmentSemanticRoles semanticRoles)
semanticRoles
- the semanticRolespublic NluEnrichmentFeatures.Builder relations(NluEnrichmentRelations relations)
relations
- the relations