NluEnrichmentEmotion
public struct NluEnrichmentEmotion : Codable, Equatable
An object specifying the emotion detection enrichment and related parameters.
-
When
true, emotion detection is performed on the entire field.Declaration
Swift
public var document: Bool? -
A comma-separated list of target strings that will have any associated emotions detected.
Declaration
Swift
public var targets: [String]? -
Initialize a
NluEnrichmentEmotionwith member variables.Declaration
Swift
public init( document: Bool? = nil, targets: [String]? = nil )Parameters
documentWhen
true, emotion detection is performed on the entire field.targetsA comma-separated list of target strings that will have any associated emotions detected.
Return Value
An initialized
NluEnrichmentEmotion.
View on GitHub
NluEnrichmentEmotion Structure Reference