Class TextClassificationConfig (2.0.0-beta01)

public sealed class TextClassificationConfig : IMessage<TextClassificationConfig>, IEquatable<TextClassificationConfig>, IDeepCloneable<TextClassificationConfig>, IBufferMessage, IMessage

Config for text classification human labeling task.

Inheritance

Object > TextClassificationConfig

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

TextClassificationConfig()

public TextClassificationConfig()

TextClassificationConfig(TextClassificationConfig)

public TextClassificationConfig(TextClassificationConfig other)
Parameter
NameDescription
otherTextClassificationConfig

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
TypeDescription
Boolean

AnnotationSpecSet

public string AnnotationSpecSet { get; set; }

Required. Annotation spec set resource name.

Property Value
TypeDescription
String

SentimentConfig

public SentimentConfig SentimentConfig { get; set; }

Optional. Configs for sentiment selection.

Property Value
TypeDescription
SentimentConfig