Example 3 - Individual Entity Type (Rule 2)
This rule uses the exact email address and fuzzy name to match.
Please review the example match rule configuration below. It has the following characteristics:
- The tactic of the rule is exact email and fuzzy name.
- The user is highly confident about the stringency of the rule so she has set it to the
automatictype, thus pairs that evaluate to true for this rule will send a directive to the match engine to merge the records. Since there is nonegativeRulein thematchGroup, this will not be overridden by any other rule and thus the pair will be merged. - It utilizes the in-built Reltio Name Dictionary.
- The user has developed a list of replacement strings and placed them into a file
called
replace-Email.txtand submitted to Reltio so it can be used to cleanse the email field.
{
"uri": "configuration/entityTypes/Individual/matchGroups/Rule2",
"label": "Rule2(auto): Fuzzy(FirstName, LastName) and Exact(Email)",
"type": "automatic",
"rule": {
"and": {
"exact": [
"configuration/entityTypes/Individual/attributes/Email/attributes/Email"
],
"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.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"
}
]
},
{
"cleanseAdapter": "com.reltio.cleanse.impl.RegexpReplaceCleanser",
"cleanseAdapterParams": {
"dictionary": "https://reltio-customers.s3.amazonaws.com/Acme/Match/replace-Email.txt",
"keepOriginalValue": "false"
},
"mappings": [
{
"attribute": "configuration/entityTypes/Individual/attributes/Email/attributes/Email",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "configuration/entityTypes/Individual/attributes/Email/attributes/Email"
}
]
}
],
"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
},