Class TextClassificationConfig (1.8.3)

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

Config for text classification human labeling task.

Attributes

NameDescription
allow_multi_label bool
Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
annotation_spec_set str
Required. Annotation spec set resource name.
sentiment_config google.cloud.datalabeling_v1beta1.types.SentimentConfig
Optional. Configs for sentiment selection.