πŸ“„ Having SentimentΒΆ

templates.targeted_sentiment_extraction.negative.having_sentiment

type: SpanLabelingTemplate
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: 
  - negative
span_label_format: {span}
postprocessors: 
  - processors.to_span_label_pairs_surface_only
[source]

References: processors.to_span_label_pairs_surface_only

Read more about catalog usage here.