Extract Quantified Units of Measure
The Extract Quantified Units of Measure processor is designed to extract potential units of size with a value attached to them (for example 100 ML, 240V, etc) from an input string. It produces three outputs, an array of the standardized type of the extracted measure with the size value attached (for example 100 MILLILITER), an array of the standardized units of measure only (for example MILLILITER), and an array of the quantities only.
Table 10-11 Input Attributes
Attribute Name | Data Type | Description | Mandatory |
---|---|---|---|
Input String |
String |
The input to extract from |
Y |
Table 10-12 Output Attributes
Attribute Name | Data Type | Description |
---|---|---|
StandardizedUnitsOfMeasureArray |
String Array |
The standardized units of measure as extracted from the input (e.g. MILLILITER, INCH). |
QuantityOfMeasureArray |
String Array |
The quantities as extracted from the input (i.e. the numbers only). |
QuantifiedStandardizedUnitsOfMeasureArray |
String Array |
The extracted quantities along with the standardized units of measure, e.g. 10 INCH. |
Table 10-13 Options
Option Name | Data Type | Default | Description |
---|---|---|---|
Regular Expressions to match |
Reference Data |
Profile – Product Data – Units of Measure Regex |
Regular expressions which extract the numeric quantity of the measure along with the measure itself, mapped to the standardized version of this measure. |
Table 10-14 Examples
Input | Standardized Units of Measure Array | Quantity of Measure Array | Quantified Standardized Units of Measure Array |
---|---|---|---|
100 MM x 200' * 300ft |
{100 MILLIMETRE, 200 INCH, 300 FOOT} |
{MILLIMETRE, INCH, FOOT} |
{100, 200, 300} |
WOMEN'S DRESS SIZE 10-12 |
{10-12 SIZE} |
{SIZE} |
{10-12} |
½" |
{1/2 INCH} |
{INCH} |
{1/2} |