webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | webMethods OneData Consolidation MDM Guide | Data Quality Services | WmDataQuality Package pub.dq Services | pub.dq:weightedMultiMatch
 
pub.dq:weightedMultiMatch
Compares the values of identically named strings in two documents based on the weight specified for each string and returns an overall score that helps to determine if the string pairs in the two documents match.
Input Parameters
algorithm
String The algorithm to use when matching the values of identically named strings in two documents. Valid values are JaroWinkler and Levenshtein. The default value is JaroWinkler.
document1
Document A document containing a list of strings. This service matches the value of each string against the value of a string with the same name in document2. You can specify the strings as key=value pairs. This service provides placeholders column1 to column10 for mapping the strings.
If the value of a string in document1 is either empty or null, the string is not considered for matching.
document2
Document A document containing a list of strings. This service matches the value of each string against the value of a string with the same name in document1. You can specify the strings as key=value pairs. This service provides placeholders column1 to column10 for mapping the strings.
If the value of a string in document2 is either empty or null, score for that string is zero.
range
String Optional. Maximum value of the output parameter, score. This value should be a positive integer greater than zero. The default value is 100.
weights
Document Optional. Represents the relative weight that this service applies to the value of each string in the document1 input parameter. The service considers this weighting when matching the values of identically named strings in document1 and document2. This service provides placeholders column1 to column10 for specifying the weights for the strings.
Value of weight must be a valid positive integer. The default value is 50.
Output Parameters
score
String A number, between zero and the value specified in range, indicating how closely the strings in the two documents match. A value of zero indicates that the strings do not match. If the values in score and range match, the compared strings are an exact match. The value of score is rounded to two decimal places.
Usage Notes
*If both the string in document1 and the corresponding string in document2 are either empty or null, this service ignores the strings for matching.
*If the value of a string in document1 is either empty or null, but the value of the corresponding string in document2 is not empty or null, score for that string is zero.
*If the value of weight assigned to a string is zero, this service does not consider the string for matching.
*If the value of weight is not specified for a string, this service assigns a default value of 50.
*The value of weight should be a valid positive integer.
*The value of range should be a positive integer greater than zero.
*The value of score is rounded to two decimal places.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release