Example 3 - Individual Entity Type (Rule 3)

This rule uses the exact ZIP code 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 Zip5 and fuzzy name.
  • The user is less confident about the stringency of the rule so she has set it to the suspect type, thus for the candidate pairs that evaluate to true for this rule, a directive will be sent to the engine to queue the pair for data steward review. However, if the same pair evaluates to true by rule 1 or rule 2, this directive will be overridden and the pair will be merged.
  • Other characteristics are similar to previous rules.
{
          "uri": "configuration/entityTypes/Individual/matchGroups/Rule3",
          "label": "Rule3(suspect): Fuzzy(FirstName, LastName, AddressLine1) and Exact(Zip5)",
          "type": "suspect",
          "rule": {
            "and": {
              "exact": [
                "configuration/entityTypes/Individual/attributes/Address/attributes/Zip/attributes/Zip5"
              ],
              "equals": [
                {
                  "values": [
                    "Bill Location",
                    "BIL"
                  ],
                  "uri": "configuration/entityTypes/Individual/attributes/Address/attributes/AddressType"
                }
              ],
              "fuzzy": [
                "configuration/entityTypes/Individual/attributes/FirstName",
                "configuration/entityTypes/Individual/attributes/LastName",
                "configuration/entityTypes/Individual/attributes/Address/attributes/AddressLine1"
              ],
              "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-AddressLine1.txt",
                    "keepOriginalValue": "false"
                  },
                  "mappings": [
                    {
                      "attribute": "configuration/entityTypes/Individual/attributes/Address/attributes/AddressLine1",
                      "mandatory": false,
                      "allValues": false,
                      "cleanseAttribute": "configuration/entityTypes/Individual/attributes/Address/attributes/AddressLine1"
                    }
                  ]
                }
              ],
              "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"
                  },
                  {
                    "attribute": "configuration/entityTypes/Individual/attributes/Address/attributes/AddressLine1",
                    "class": "com.reltio.match.token.AddressLineMatchToken"
                  }
                ]
              },
              "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"
                  },
                  {
                    "attribute": "configuration/entityTypes/Individual/attributes/Address/attributes/AddressLine1",
                    "class": "com.reltio.match.token.AddressLineComparator"
                  }
                ]
              }
            }
          },
          "scoreStandalone": 0,
          "scoreIncremental": 0
        },