public sealed class TextClassificationConfig : IMessage<TextClassificationConfig>, IEquatable<TextClassificationConfig>, IDeepCloneable<TextClassificationConfig>, IBufferMessage, IMessage
Config for text classification human labeling task.
Implements
IMessage<TextClassificationConfig>, IEquatable<TextClassificationConfig>, IDeepCloneable<TextClassificationConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.DataLabeling.V1Beta1Assembly
Google.Cloud.DataLabeling.V1Beta1.dll
Constructors
TextClassificationConfig()
public TextClassificationConfig()
TextClassificationConfig(TextClassificationConfig)
public TextClassificationConfig(TextClassificationConfig other)
Parameter | |
---|---|
Name | Description |
other | TextClassificationConfig |
Properties
AllowMultiLabel
public bool AllowMultiLabel { get; set; }
Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
Property Value | |
---|---|
Type | Description |
Boolean |
AnnotationSpecSet
public string AnnotationSpecSet { get; set; }
Required. Annotation spec set resource name.
Property Value | |
---|---|
Type | Description |
String |
SentimentConfig
public SentimentConfig SentimentConfig { get; set; }
Optional. Configs for sentiment selection.
Property Value | |
---|---|
Type | Description |
SentimentConfig |