GoogleCloudDatalabelingV1beta1TextClassificationConfig class
Config for text classification human labeling task.
Constructors
-
GoogleCloudDatalabelingV1beta1TextClassificationConfig({Input<
bool> ? allowMultiLabel, required Input<String> annotationSpecSet, Input<GoogleCloudDatalabelingV1beta1SentimentConfig> ? sentimentConfig}) -
Creates a new GoogleCloudDatalabelingV1beta1TextClassificationConfig.
allowMultiLabelOptional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.annotationSpecSetAnnotation spec set resource name.sentimentConfigOptional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP.const -
GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowMultiLabel
→ Input<
bool> ? -
Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
final
-
annotationSpecSet
→ Input<
String> -
Annotation spec set resource name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sentimentConfig
→ Input<
GoogleCloudDatalabelingV1beta1SentimentConfig> ? -
Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited