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