GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextClassificationConfig (google_api_data_labeling v0.2.1) View Source

Config for text classification human labeling task.

Attributes

  • allowMultiLabel (type: boolean(), default: nil) - Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
  • annotationSpecSet (type: String.t, default: nil) - Required. Annotation spec set resource name.
  • sentimentConfig (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1SentimentConfig.t, default: nil) - Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextClassificationConfig{
    allowMultiLabel: boolean(),
    annotationSpecSet: String.t(),
    sentimentConfig:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1SentimentConfig.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.