webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | String | fuzzyMatch
 
fuzzyMatch
A given string is not exactly matched against a set of strings. If the match is above similarityThreshold, it returns the matchedValue. If more than one string has not exactly matched, then the first matched string is returned.
Input Parameters
inString
String (Required) Text to be matched. Text should not be empty or null.
matchData
String [ ] (Required) Array of strings, which are used for matching. If the string array value is either empty or null, it is not used for matching.
similarityThreshold
String (Optional) If the inexact match score is above the given threshold, then service output contains the matchedValue parameter. Default value is 0.65. Valid values should be between 0.0 and 1.0. Value 0.0 represents no match and value 1.0 represents an exact match.
algorithm
String (Optional) The algorithm used for an inexact match. Default value is Levenshtein. Supported algorithms are Levenshtein and JaroWinkler.
Output Parameters
matchedValue
String (Optional) If the inexact match is above similarityThreshold, then the returned value contains the matched string.
similarity
String (Optional) If the inexact match is above similarityThreshold, then it contains a similarity score. It provides the measure of how close the match is. The returned value can be between 0.0 and 1.0. Value 0.0 represents no match and value 1.0 represents an exact match.
Usage Notes
Search the web for more information about Levenshtein and JaroWinkler algorithms.

Copyright © 2014- 2019 | 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.