TextClassificationConfig

Config for text classification human labeling task.

JSON representation
{
  "allowMultiLabel": boolean,
  "annotationSpecSet": string,
  "sentimentConfig": {
    object (SentimentConfig)
  }
}
Fields
allowMultiLabel

boolean

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

annotationSpecSet

string

Required. Annotation spec set resource name.

sentimentConfig

object (SentimentConfig)

Optional. Configs for sentiment selection.

SentimentConfig

Config for setting up sentiments.

JSON representation
{
  "enableLabelSentimentSelection": boolean
}
Fields
enableLabelSentimentSelection

boolean

If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.