π Sentiment ExtractedΒΆ
templates.targeted_sentiment_extraction.neutral.sentiment_extracted
SpanLabelingTemplate(
input_format="From the following {text_type}, extract the objects for which the sentiment extracted is {sentiment_class}. If there are none, output None.
{text_type}: {text}
",
labels_support=[
"neutral",
],
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.