Show / Hide Table of Contents

Class TextClassificationConfig

Config for text classification human labeling task.

Inheritance
System.Object
TextClassificationConfig
Implements
IMessage<TextClassificationConfig>
System.IEquatable<TextClassificationConfig>
IDeepCloneable<TextClassificationConfig>
Google.Protobuf.IBufferMessage
IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class TextClassificationConfig : IMessage<TextClassificationConfig>, IEquatable<TextClassificationConfig>, IDeepCloneable<TextClassificationConfig>, IBufferMessage, IMessage

Constructors

TextClassificationConfig()

Declaration
public TextClassificationConfig()

TextClassificationConfig(TextClassificationConfig)

Declaration
public TextClassificationConfig(TextClassificationConfig other)
Parameters
Type Name Description
TextClassificationConfig other

Properties

AllowMultiLabel

Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.

Declaration
public bool AllowMultiLabel { get; set; }
Property Value
Type Description
System.Boolean

AnnotationSpecSet

Required. Annotation spec set resource name.

Declaration
public string AnnotationSpecSet { get; set; }
Property Value
Type Description
System.String

SentimentConfig

Optional. Configs for sentiment selection.

Declaration
public SentimentConfig SentimentConfig { get; set; }
Property Value
Type Description
SentimentConfig
Back to top