Class: Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb

Overview

Config for text classification human labeling task.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_multi_label::Boolean

Returns Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.

Returns:

  • (::Boolean)

    Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.



208
209
210
211
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 208

class TextClassificationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#annotation_spec_set::String

Returns Required. Annotation spec set resource name.

Returns:

  • (::String)

    Required. Annotation spec set resource name.



208
209
210
211
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 208

class TextClassificationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sentiment_config::Google::Cloud::DataLabeling::V1beta1::SentimentConfig

Returns Optional. Configs for sentiment selection.

Returns:



208
209
210
211
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 208

class TextClassificationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end