public static class NluEnrichmentFeatures.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
NluEnrichmentFeatures |
build()
Builds a NluEnrichmentFeatures.
|
NluEnrichmentFeatures.Builder |
categories(Map<String,Object> categories)
Set the categories.
|
NluEnrichmentFeatures.Builder |
concepts(NluEnrichmentConcepts concepts)
Set the concepts.
|
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 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(Map<String,Object> categories)
categories
- the categoriespublic NluEnrichmentFeatures.Builder semanticRoles(NluEnrichmentSemanticRoles semanticRoles)
semanticRoles
- the semanticRolespublic NluEnrichmentFeatures.Builder relations(NluEnrichmentRelations relations)
relations
- the relationspublic NluEnrichmentFeatures.Builder concepts(NluEnrichmentConcepts concepts)
concepts
- the conceptsCopyright © 2023 IBM Cloud. All rights reserved.