NluEnrichmentKeywords
public struct NluEnrichmentKeywords : Codable, Equatable
An object specifying the Keyword enrichment and related parameters.
-
When
true, sentiment analysis of keywords will be performed on the specified field.Declaration
Swift
public var sentiment: Bool? -
When
true, emotion detection of keywords will be performed on the specified field.Declaration
Swift
public var emotion: Bool? -
The maximum number of keywords to extract for each instance of the specified field.
Declaration
Swift
public var limit: Int? -
Initialize a
NluEnrichmentKeywordswith member variables.Declaration
Swift
public init( sentiment: Bool? = nil, emotion: Bool? = nil, limit: Int? = nil )Parameters
sentimentWhen
true, sentiment analysis of keywords will be performed on the specified field.emotionWhen
true, emotion detection of keywords will be performed on the specified field.limitThe maximum number of keywords to extract for each instance of the specified field.
Return Value
An initialized
NluEnrichmentKeywords.
View on GitHub
NluEnrichmentKeywords Structure Reference