Skip to main content

Loop Labels

Synopsis

This operator iterates over its subprocess for each attribute with label role in the input ExampleSet.

Description

The Loop Labels operator is a nested operator i.e. it has a subprocess. The subprocess of the Loop Labels operator executes n number of times, where n is the number of attributes with label role in the given ExampleSet. The result of this operator is a collection of objects. Please study the attached Example Process for better understanding.

For compatibility with older versions this operator also accepts roles that start with 'label' als label roles. So, if an ExampleSet has attributes with the roles 'label', 'label2' and 'label3', for example, then the subprocess of this operator will execute three times on it.

Input

example set

This input port expects an ExampleSet.

Output

output

This operator can have multiple out output ports. When one output is connected, another out output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The object delivered at the first out port of subprocess is delivered at the first out output port of the outer process. Do not forget to connect all outputs in correct order. Make sure that you have connected the right number of ports at all levels of the chain.