Example 1 - Simple Rule with Reltio Name Dictionary

This example explains how to use the Reltio name dictionary.

Please review the example match rule configuration below. It has the following characteristics:

  • Uses the in-built Reltio Name Dictionary for first names.
  • Uses a phonetic (Double Metaphone) strategy for first names.
  • Together, the synonym dictionary and the phonetic strategy will produce a rich amount of tolerance for first name variations still considered semantically the same.
{
  "uri": "configuration/entityTypes/HCP/matchGroups/MatchonFirstNameandLastName",
  "label": "Match on FirstName and LastName",
  "type": "suspect",
  "scope": "ALL",
  "useOvOnly": "true",
  "rule": {
    "ignoreInToken": [
      "configuration/entityTypes/HCP/attributes/FirstName"
    ],
    "cleanse": [
      {
        "cleanseAdapter": "com.reltio.cleanse.impl.NameDictionaryCleanser",
        "mappings": [
          {
            "attribute": "configuration/entityTypes/HCP/attributes/FirstName",
            "mandatory": false,
            "allValues": false,
            "cleanseAttribute": "configuration/entityTypes/HCP/attributes/FirstName"
          }
        ]
      }
    ],
    "matchTokenClasses": {
      "mapping": [
        {
          "attribute": "configuration/entityTypes/HCP/attributes/FirstName",
          "class": "com.reltio.match.token.DoubleMetaphoneMatchToken"
        }
      ]
    },
    "comparatorClasses": {
      "mapping": [
        {
          "attribute": "configuration/entityTypes/HCP/attributes/FirstName",
          "class": "com.reltio.match.comparator.DoubleMetaphoneComparator"
        }
      ]
    },
    "and": {
      "exact": [
        "configuration/entityTypes/HCP/attributes/LastName"
      ],
      "equals": [
        {
          "value": "Physician",
          "values": [
            "Physician"
          ],
          "uri": "configuration/entityTypes/HCP/attributes/HCPType"
        }
      ],
      "fuzzy": [
        "configuration/entityTypes/HCP/attributes/FirstName"
      ]
    }
  },
  "scoreStandalone": 0,
  "scoreIncremental": 0
}