Class TextClassificationConfig

Config for text classification human labeling task.

Attributes
NameDescription
boolallow_multi_label
Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
strannotation_spec_set
Required. Annotation spec set resource name.
google.cloud.datalabeling_v1beta1.types.SentimentConfigsentiment_config
Optional. Configs for sentiment selection.

Inheritance

builtins.object > proto.message.Message > TextClassificationConfig