A program to recognize and reward our most engaged community members
if(%{loop_attribute}==1,"%{loop_attribute}","")
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.3.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="5.3.000" expanded="true" name="Process"> <process expanded="true" height="867" width="1150"> <operator activated="false" class="nominal_to_binominal" compatibility="5.3.000" expanded="true" height="94" name="Nominal to Binominal (2)" width="90" x="1050" y="210"/> <operator activated="false" class="map" compatibility="5.3.000" expanded="true" height="76" name="Map" width="90" x="1050" y="345"> <list key="value_mappings"/> </operator> <operator activated="true" class="generate_data_user_specification" compatibility="5.3.000" expanded="true" height="60" name="Generate Data by User Specification" width="90" x="45" y="75"> <list key="attribute_values"> <parameter key="text" value=""The quick brown fox jumped over the lazy dog""/> </list> <list key="set_additional_roles"/> </operator> <operator activated="true" class="generate_data_user_specification" compatibility="5.3.000" expanded="true" height="60" name="Generate Data by User Specification (2)" width="90" x="45" y="165"> <list key="attribute_values"> <parameter key="text" value=""The rain in Spain falls mainly on the plain""/> </list> <list key="set_additional_roles"/> </operator> <operator activated="true" class="append" compatibility="5.3.000" expanded="true" height="94" name="Append" width="90" x="179" y="120"/> <operator activated="true" class="nominal_to_text" compatibility="5.3.000" expanded="true" height="76" name="Nominal to Text" width="90" x="313" y="120"/> <operator activated="true" class="subprocess" compatibility="5.3.000" expanded="true" height="76" name="Subprocess" width="90" x="447" y="120"> <process expanded="true" height="685" width="955"> <operator activated="true" class="text:process_document_from_data" compatibility="5.3.000" expanded="true" height="76" name="Process Documents from Data" width="90" x="179" y="75"> <parameter key="vector_creation" value="Term Frequency"/> <parameter key="add_meta_information" value="false"/> <parameter key="datamanagement" value="boolean_sparse_array"/> <list key="specify_weights"/> <process expanded="true" height="671" width="964"> <operator activated="true" class="text:tokenize" compatibility="5.3.000" expanded="true" height="60" name="Tokenize" width="90" x="112" y="30"> <parameter key="language" value="German"/> </operator> <operator activated="true" class="text:transform_cases" compatibility="5.3.000" expanded="true" height="60" name="Transform Cases" width="90" x="246" y="30"/> <connect from_port="document" to_op="Tokenize" to_port="document"/> <connect from_op="Tokenize" from_port="document" to_op="Transform Cases" to_port="document"/> <connect from_op="Transform Cases" from_port="document" to_port="document 1"/> <portSpacing port="source_document" spacing="0"/> <portSpacing port="sink_document 1" spacing="0"/> <portSpacing port="sink_document 2" spacing="0"/> </process> </operator> <operator activated="true" class="loop_attributes" compatibility="5.3.000" expanded="true" height="76" name="Loop Attributes" width="90" x="380" y="75"> <process expanded="true" height="671" width="964"> <operator activated="true" class="generate_attributes" compatibility="5.3.000" expanded="true" height="76" name="Generate Attributes" width="90" x="179" y="30"> <list key="function_descriptions"> <parameter key="%{loop_attribute}" value="if(%{loop_attribute}==1,"%{loop_attribute}","")"/> </list> </operator> <connect from_port="example set" to_op="Generate Attributes" to_port="example set input"/> <connect from_op="Generate Attributes" from_port="example set output" to_port="example set"/> <portSpacing port="source_example set" spacing="0"/> <portSpacing port="sink_example set" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator> <connect from_port="in 1" to_op="Process Documents from Data" to_port="example set"/> <connect from_op="Process Documents from Data" from_port="example set" to_op="Loop Attributes" to_port="example set"/> <connect from_op="Loop Attributes" from_port="example set" to_port="out 1"/> <portSpacing port="source_in 1" spacing="0"/> <portSpacing port="source_in 2" spacing="0"/> <portSpacing port="sink_out 1" spacing="0"/> <portSpacing port="sink_out 2" spacing="0"/> </process> </operator> <connect from_op="Generate Data by User Specification" from_port="output" to_op="Append" to_port="example set 1"/> <connect from_op="Generate Data by User Specification (2)" from_port="output" to_op="Append" to_port="example set 2"/> <connect from_op="Append" from_port="merged set" to_op="Nominal to Text" to_port="example set input"/> <connect from_op="Nominal to Text" from_port="example set output" to_op="Subprocess" to_port="in 1"/> <connect from_op="Subprocess" from_port="out 1" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator></process>