NluEnrichmentFeatures
public struct NluEnrichmentFeatures : Codable, Equatable
Object containing Natural Language Understanding features to be used.
-
An object specifying the Keyword enrichment and related parameters.
Declaration
Swift
public var keywords: NluEnrichmentKeywords?
-
An object speficying the Entities enrichment and related parameters.
Declaration
Swift
public var entities: NluEnrichmentEntities?
-
An object specifying the sentiment extraction enrichment and related parameters.
Declaration
Swift
public var sentiment: NluEnrichmentSentiment?
-
An object specifying the emotion detection enrichment and related parameters.
Declaration
Swift
public var emotion: NluEnrichmentEmotion?
-
An object that indicates the Categories enrichment will be applied to the specified field.
Declaration
Swift
public var categories: [String : JSON]?
-
An object specifiying the semantic roles enrichment and related parameters.
Declaration
Swift
public var semanticRoles: NluEnrichmentSemanticRoles?
-
An object specifying the relations enrichment and related parameters.
Declaration
Swift
public var relations: NluEnrichmentRelations?
-
An object specifiying the concepts enrichment and related parameters.
Declaration
Swift
public var concepts: NluEnrichmentConcepts?
-
Initialize a
NluEnrichmentFeatures
with member variables.Declaration
Swift
public init( keywords: NluEnrichmentKeywords? = nil, entities: NluEnrichmentEntities? = nil, sentiment: NluEnrichmentSentiment? = nil, emotion: NluEnrichmentEmotion? = nil, categories: [String: JSON]? = nil, semanticRoles: NluEnrichmentSemanticRoles? = nil, relations: NluEnrichmentRelations? = nil, concepts: NluEnrichmentConcepts? = nil )
Parameters
keywords
An object specifying the Keyword enrichment and related parameters.
entities
An object speficying the Entities enrichment and related parameters.
sentiment
An object specifying the sentiment extraction enrichment and related parameters.
emotion
An object specifying the emotion detection enrichment and related parameters.
categories
An object that indicates the Categories enrichment will be applied to the specified field.
semanticRoles
An object specifiying the semantic roles enrichment and related parameters.
relations
An object specifying the relations enrichment and related parameters.
concepts
An object specifiying the concepts enrichment and related parameters.
Return Value
An initialized
NluEnrichmentFeatures
.