π Carry SentimentΒΆ
templates.targeted_sentiment_extraction.carry_sentiment
SpanLabelingTemplate(
input_format="{text_type}: {text}
From this {text_type}, extract entities that carry one of the following types: positive, negative, neutral.
",
postprocessors=[
"processors.to_span_label_pairs",
],
)
[source]References: processors.to_span_label_pairs
Read more about catalog usage here.