πŸ“„ Carry SentimentΒΆ

templates.targeted_sentiment_extraction.carry_sentiment

type: SpanLabelingTemplate
input_format: "{text_type}: {text}\nFrom this {text_type}, extract entities that carry one of the following types: positive, negative, neutral.\n"
postprocessors: 
  - processors.to_span_label_pairs
[source]

References: processors.to_span_label_pairs

Read more about catalog usage here.