DuplicateHandlingMask option
Learn about the DuplicateHandlingMask option to remove valid duplicate components from the input address and enhance the address cleansing accuracy.
The DuplicateHandlingMask
option allows the address cleanser to handle
some of the duplicate information that is encountered during user input. Depending on
the value set for the option, the duplicates present in the address can be removed
either from the same line or across all levels of input.
Example of Address with Duplicate Data - without the
DuplicateHandlingMask
Option Enabled
[
{
"pcde": "91501",
"admn": "CA",
"add1": "624 EAST SAN JOSE AVE UNIT 106",
"add2": "BURBANK",
"lcty": "BURBANK",
"ctry": "US"
}
]
Address Line 2
and
Locality
. If the DuplicateHandlingMask
option
is not enabled, then the address is impacted in the following ways:- The address cleanser does not check for duplicates in the input address.
- This affects the accuracy of the address cleansing process.
- The address is not verified as the cleanser cannot eliminate valid duplicates found within the address.
- Address Verification Code (AVC) is
V42-I55-P5-089
.
Example of Address with Duplicate Data - with the
DuplicateHandlingMask
Option Enabled
[
{
"pcde": "91501",
"admn": "CA",
"add1": "624 EAST SAN JOSE AVE UNIT 106",
"add2": "BURBANK",
"ctry": "US"
}
]
DuplicateHandlingMask
option is enabled, the
accuracy of the address cleansing process is enhanced. After the
DuplicateHandlingMask
option is enabled, the address is
impacted in the following ways:- Duplicate addresses are compared across all levels of inputs and eliminated if found as valid duplicate addresses in both pre-process and post process stages.
- The accuracy of the address cleansing process is enhanced.
- Address Verification Code (AVC) is updated to
V55-I55-P7-100
.
Add the DuplicateHandlingMask Option in the L3 Configuration
DuplicateHandlingMask
option in one of the following ways:- In the Physical Configuration - Contact the Support Team to enable a server option at the physical configuration level.
- In the L3 Configuration - See Configuring the Server Options to configure a server option in your L3.
DuplicateHandlingMask
option:- The
DuplicateHandlingMask
option can be enabled in the L3 configuration. However, to enable this option in the L3 configuration, it must be entered in the option across each of the entity types that have an address. - Your L3 configuration overrides the physical configuration.
- After enabling the
DuplicateHandlingMask
option, re-cleanse the addresses to ensure that the enabled option is applied and affects the existing entity types. Prior to enabling this option, few of the addresses that were earlier partially verified might get verified. - The process of cleansing can have an effect on the matching rate, as the standardized addresses that were not matching, can match and eventually merge.
DuplicateHandlingMask
option enabled{
"infos": [
{
"uri": "configuration/entityTypes/CleanserCrossWalkTest/cleanse/infos/default",
"useInCleansing": true,
"sequence": [
{
"chain": [
{
"cleanseFunction": "Loqate",
"resultingValuesSourceTypeUri": "configuration/sources/ReltioCleanser",
"proceedOnSuccess": true,
"proceedOnFailure": false,
"mapping": {
...
},
"params": {
"returnUnverifiedStatus": "true",
"loqateDefaultCountry": "USA",
"ovOnly": "true",
"opts": {
"PreferPrimaryValidAlias": "Yes",
"OutputCasing": "Upper",
"DefaultCountry": "IND",
"DuplicateHandlingMask": "15"
}
}
}
]
}
]
}
Activate the DuplicateHandlingMask option
0
and 15,
with
0
being the default value. You can activate the
DuplicateHandlingMask
option at the following levels:- Single Field Level: If the
DuplicateHandlingMask
option is set to1
, then the address cleanser pre-processes the address input and removes the duplicates that occur within a single field. - Cross Field Level: If the
DuplicateHandlingMask
option is set to2
, then the address cleanser pre-processes the address input and removes the duplicates across all the fields. - Tag Field Level: If the
DuplicateHandlingMask
option is set to4
, the address cleanser pre-processes the address input and removes the duplicates in fields, which have not been internally tagged. An input field is considered a tagged field if the field name is one of the standard address component field names such asLocality
,AdministrativeArea
,Thoroughfare
, and so on. - Field Status Level: If the
DuplicateHandlingMask
option is set to8
, the address cleanser post-processes the output from verification and removes the duplicates from the non-verified fields.
15
to check for valid duplicates across all
levels.