Example 3 - Individual Entity Type (Rule 4)
This rule uses the exact phone number and fuzzy first name and last name to match.
Review the example match rule configuration below. It has the following characteristics:
replace-Phone.txt and submitted to Reltio so it can be used to
cleanse the phone field.PhoneNumberComparator and PhoneNumberMatchToken support the noiseDictionary parameter directly. In this case, you don't need to not use RegexpReplaceCleanser to cleanse phone numbers through a replacement dictionary (replace-Phone.txt)."uri": "configuration/entityTypes/Individual/matchGroups/Rule4",
"label": "Rule4(suspect): Fuzzy(FirstName, LastName) and Exact(Phone)",
"type": "suspect",
"rule": {
"and": {
"exact": [
"configuration/entityTypes/Individual/attributes/Phone/attributes/Number"
],
"fuzzy": [
"configuration/entityTypes/Individual/attributes/FirstName",
"configuration/entityTypes/Individual/attributes/LastName"
],
"ignoreInToken": [
"configuration/entityTypes/Individual/attributes/FirstName",
"configuration/entityTypes/Individual/attributes/LastName"
],
"cleanse": [
{
"cleanseAdapter": "com.reltio.cleanse.impl.RegexpReplaceCleanser",
"cleanseAdapterParams": {
"dictionary": "https://reltio-customers.s3.amazonaws.com/Acme/Match/replace-Phone.txt",
"keepOriginalValue": "false"
},
"mappings": [
{
"attribute": "configuration/entityTypes/Individual/attributes/Phone/attributes/Number",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "configuration/entityTypes/Individual/attributes/Phone/attributes/Number"
}
]
},
{
"cleanseAdapter": "com.reltio.cleanse.impl.NameDictionaryCleanser",
"mappings": [
{
"attribute": "configuration/entityTypes/Individual/attributes/FirstName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "configuration/entityTypes/Individual/attributes/FirstName"
},
{
"attribute": "configuration/entityTypes/Individual/attributes/LastName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "configuration/entityTypes/Individual/attributes/LastName"
}
]
}
],
"matchTokenClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Individual/attributes/FirstName",
"class": "com.reltio.match.token.FuzzyTextMatchToken"
},
{
"attribute": "configuration/entityTypes/Individual/attributes/LastName",
"class": "com.reltio.match.token.FuzzyTextMatchToken"
}
]
},
"comparatorClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Individual/attributes/FirstName",
"class": "com.reltio.match.comparator.DamerauLevenshteinDistance"
},
{
"attribute": "configuration/entityTypes/Individual/attributes/LastName",
"class": "com.reltio.match.comparator.DamerauLevenshteinDistance"
}
]
}
}
},
"scoreStandalone": 0,
"scoreIncremental": 0
},