Operation Template
Operations are the basic actions performed by the SIM in order to tokenize the data for internal processing.
There are two types of operations provided currently:
Unit of Measure Operator - this operator defines the unit to be tokenized
RegEx Operator - this helps in tokenizing the text based on the matching Regular Expression formula defined
Â
To add a new Operation template:
Goto Workbench → SIM → Operation Template and click the Add Operation button. You will see this screen:
Follow the below process to create the template.
To create a Unit of Measure Operator:
Step 1: Give and name and optionally associate with a tag
Step 2: Select Unit of Measure Operator for the field Type:
Step 3: There are two other dropdown combo boxes displayed upon performing step 1.
For the Unit of Measure Type section, following are the available options - choose the required value.
Step 4: Select the unit of measure you would like to target. An example for length is as follows:
Step 5: Select the number of decimals unit of measure should be rounded to. You can pick to round to anywhere from 1 to 10 decimals. We recommend starting with 2 or 3 and adjusting if necessary:
Â
A complete example of a Unit of Measure Operation Template is as below:
Â
To create a RegEx Operator:
Step 1: Give and name and optionally associate with a tag
Step 2: Select RegEx Operator for the field Type
Step 3: Fill in your desired regular expression to match and replace.
Example:
Â
This section helps create the re-usable templates to be used for the Normalizers.
Example, if we have the following Operation templates setup:
Then these will be available under normalizers when we click on Add Operation:
Â