AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::SentimentConfig (v0.8.1)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::SentimentConfig.

Config for setting up sentiments.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_label_sentiment_selection

def enable_label_sentiment_selection() -> ::Boolean
Returns
  • (::Boolean) — If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.

#enable_label_sentiment_selection=

def enable_label_sentiment_selection=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.
Returns
  • (::Boolean) — If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.