GoogleCloudDatalabelingV1beta1TextClassificationConfig constructor
const
GoogleCloudDatalabelingV1beta1TextClassificationConfig({
- Input<
bool> ? allowMultiLabel, - required Input<
String> annotationSpecSet, - Input<
GoogleCloudDatalabelingV1beta1SentimentConfig> ? sentimentConfig,
Creates a new GoogleCloudDatalabelingV1beta1TextClassificationConfig.
allowMultiLabel Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
annotationSpecSet Annotation spec set resource name.
sentimentConfig Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP.
Implementation
const GoogleCloudDatalabelingV1beta1TextClassificationConfig({
this.allowMultiLabel,
required this.annotationSpecSet,
this.sentimentConfig,
});