π To Span Label Pairs Surface OnlyΒΆ
processors.to_span_label_pairs_surface_only
type: PostProcess
operator:
type: RegexParser
regex: \s*((?:\\.|[^,])+?)\s*(?:,|$)()
termination_regex: ^\s*None\s*$
[source]Explanation about RegexParserΒΆ
A processor that uses regex in order to parse a string.
Read more about catalog usage here.