Skip to main content

Generate Concatenation

Synopsis​

This operator merges two attributes into a single new attribute by concatenating their values. The new attribute is of nominal type. The original attributes remain unchanged.

Description​

The Generate Concatenation operator merges two attributes of the input ExampleSet into a single new nominal attribute by concatenating the values of the two attributes. If the resultant attribute is actually of numerical type, it can be converted from nominal to numerical type by using the Nominal to Numeric operator. The original attributes remain unchanged, just a new attribute is added to the ExampleSet. The two attributes to be concatenated are specified by the first attribute and second attribute parameters.

Input​

example set input​

This input port expects an ExampleSet. It is the output of the Retrieve (Deprecated) operator in the attached Example Process.

Output​

example set output​

The ExampleSet with the new attribute that has concatenated values of the specified attributes is output of this port.

original​

The ExampleSet that was given as input is passed without changing to the output through this port. This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace.

Parameters​

first attribute​

This parameter specifies the first attribute to be concatenated.

second attribute​

This parameter specifies the second attribute to be concatenated.

separator​

This parameter specifies the string which is used as separation of values of the first and second attribute i.e. the string that is concatenated between the two values.

trim values​

This parameter indicates if the values of the first and second attribute should be trimmed i.e. leading and trailing whitespaces should be removed before the concatenation is performed.

See Also​