Class: Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
- 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
-
#allow_multi_label ⇒ ::Boolean
Optional.
-
#annotation_spec_set ⇒ ::String
Required.
-
#sentiment_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::SentimentConfig
Optional.
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.
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.
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.
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 |