Data Labeling v1beta1 API - Class TextClassificationConfig (2.0.0-beta05)

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

Reference documentation and code samples for the Data Labeling v1beta1 API class TextClassificationConfig.

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
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
bool

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