Class TextClassificationConfig (1.1.0)

TextClassificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for text classification human labeling task. .. attribute:: allow_multi_label

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

:type: bool

Attributes

NameDescription
annotation_spec_set str
Required. Annotation spec set resource name.
sentiment_config google.cloud.datalabeling_v1beta1.types.SentimentConfig
Optional. Configs for sentiment selection.