public static class Features.Builder
extends java.lang.Object
Constructor and Description |
---|
Features.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
Features |
build()
Builds a Features.
|
Features.Builder |
categories(CategoriesOptions categories)
Set the categories.
|
Features.Builder |
concepts(ConceptsOptions concepts)
Set the concepts.
|
Features.Builder |
emotion(EmotionOptions emotion)
Set the emotion.
|
Features.Builder |
entities(EntitiesOptions entities)
Set the entities.
|
Features.Builder |
keywords(KeywordsOptions keywords)
Set the keywords.
|
Features.Builder |
metadata(MetadataOptions metadata)
Set the metadata.
|
Features.Builder |
relations(RelationsOptions relations)
Set the relations.
|
Features.Builder |
semanticRoles(SemanticRolesOptions semanticRoles)
Set the semanticRoles.
|
Features.Builder |
sentiment(SentimentOptions sentiment)
Set the sentiment.
|
Features.Builder |
syntax(SyntaxOptions syntax)
Set the syntax.
|
public Features build()
public Features.Builder concepts(ConceptsOptions concepts)
concepts
- the conceptspublic Features.Builder emotion(EmotionOptions emotion)
emotion
- the emotionpublic Features.Builder entities(EntitiesOptions entities)
entities
- the entitiespublic Features.Builder keywords(KeywordsOptions keywords)
keywords
- the keywordspublic Features.Builder metadata(MetadataOptions metadata)
metadata
- the metadatapublic Features.Builder relations(RelationsOptions relations)
relations
- the relationspublic Features.Builder semanticRoles(SemanticRolesOptions semanticRoles)
semanticRoles
- the semanticRolespublic Features.Builder sentiment(SentimentOptions sentiment)
sentiment
- the sentimentpublic Features.Builder categories(CategoriesOptions categories)
categories
- the categoriespublic Features.Builder syntax(SyntaxOptions syntax)
syntax
- the syntax