π Having SentimentΒΆ
Note
ID: templates.targeted_sentiment_extraction.neutral.having_sentiment | Type: SpanLabelingTemplate
{
"__type__": "span_labeling_template",
"input_format": "From the following {text_type}, extract entities having a sentiment: {sentiment_class}. If there none, output None. \n{text_type}: {text}\n",
"labels_support": [
"neutral"
],
"postprocessors": [
"processors.to_span_label_pairs_surface_only"
],
"span_label_format": "{span}"
}
References: processors.to_span_label_pairs_surface_only
Read more about catalog usage here.