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
NluEnrichmentFeatureswith 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
keywordsAn object specifying the Keyword enrichment and related parameters.
entitiesAn object speficying the Entities enrichment and related parameters.
sentimentAn object specifying the sentiment extraction enrichment and related parameters.
emotionAn object specifying the emotion detection enrichment and related parameters.
categoriesAn object that indicates the Categories enrichment will be applied to the specified field.
semanticRolesAn object specifiying the semantic roles enrichment and related parameters.
relationsAn object specifying the relations enrichment and related parameters.
conceptsAn object specifiying the concepts enrichment and related parameters.
Return Value
An initialized
NluEnrichmentFeatures.
View on GitHub
NluEnrichmentFeatures Structure Reference