DocumentSentimentResults

public struct DocumentSentimentResults : Codable, Equatable

DocumentSentimentResults.

  • Indicates whether the sentiment is positive, neutral, or negative.

    Declaration

    Swift

    public var label: String?
  • Sentiment score from -1 (negative) to 1 (positive).

    Declaration

    Swift

    public var score: Double?