π To Span Label PairsΒΆ
Note
ID: processors.to_span_label_pairs | Type: SequentialOperator
{
"__type__": "sequential_operator",
"steps": [
{
"__type__": "regex_parser",
"field": "prediction",
"process_every_value": false,
"regex": "\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*:\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*(?=,|$)"
},
{
"__type__": "regex_parser",
"field": "references",
"process_every_value": true,
"regex": "\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*:\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*(?=,|$)"
}
]
}
Explanation about SequentialOperatorΒΆ
A class representing a sequential operator in the streaming system.
A sequential operator is a type of MultiStreamOperator that applies a sequence of other operators to a MultiStream. It maintains a list of StreamingOperator`s and applies them in order to the `MultiStream.
Explanation about RegexParserΒΆ
A processor that uses regex in order to parse a string.
Read more about catalog usage here.