Config for text classification human labeling task.
JSON representation | |
---|---|
{
"allowMultiLabel": boolean,
"annotationSpecSet": string,
"sentimentConfig": {
object ( |
Fields | |
---|---|
allowMultiLabel |
Optional. If allowMultiLabel is true, contributors are able to choose multiple labels for one text segment. |
annotationSpecSet |
Required. Annotation spec set resource name. |
sentimentConfig |
Optional. Configs for sentiment selection. |
SentimentConfig
Config for setting up sentiments.
JSON representation | |
---|---|
{ "enableLabelSentimentSelection": boolean } |
Fields | |
---|---|
enableLabelSentimentSelection |
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. |