Table of Contents


  1. Preface
  2. Introduction to Accelerators
  3. Core Accelerator
  4. Data Domains Accelerator
  5. Australia/New Zealand Accelerator
  6. BCBS 239/CCAR Accelerator
  7. Brazil Accelerator
  8. Financial Services Accelerator
  9. France Accelerator
  10. Germany Accelerator
  11. India Accelerator
  12. Italy Accelerator
  13. Portugal Accelerator
  14. Spain Accelerator
  15. United Kingdom Accelerator
  16. U.S./Canada Accelerator

Accelerator Guide

Accelerator Guide

Portugal Contact Data Cleansing Rules

Portugal Contact Data Cleansing Rules

Use the contact data cleansing rules to parse, standardize, and validate data about business contacts and individuals.
Find the contact data cleansing rules in the following repository location:
The following table describes the contact data cleansing rules in the Portugal accelerator:
Assigns gender according to first names. The rule returns "M" for male names, "F" for female names, and "U" if the gender is unknown. For example, the rule assigns the name "Artur Cruz" a gender of "M" for male.
Generate given names from Portuguese nicknames.
Parses Número de Identificação Fiscal (NIF) numbers from strings. The rule returns the ID numbers and also returns a string that contains the input text with the ID numbers removed.
Standardizes Número de Identificação Fiscal (NIF) numbers into a nine-digit string. The rule removes alphabetic characters, symbols, and spaces.
Validates Número de Identificação Fiscal (NIF) numbers based on the check digit in each number. The rule requires that the input is a nine-digit numeric string with no spaces.
Parses person name values into separate ports. The rule creates ports for values such as title, first name, middle name, and surname. The rule also indicates if the name might be a company name and validates the spelling of the name.
The rule output includes a port that contains the full name of the person in the record. You can use the full name port as an input to a Match transformation in an identity match analysis mapping.
Parses a Portuguese telephone number from a string. The rule parses the first telephone number in the data, reading from right to left. The rule returns a telephone number and also returns a string that contains the input text with the telephone number removed.
Standardizes Portuguese telephone numbers to international and local dialing formats.
Validates the area code and length of Portuguese telephone numbers. The rule returns the region of the telephone number, as well as codes that indicate if the area code and length of a telephone number are valid.
Generates an honorific according to the gender. You can change the female_prename expression variable from "Sra" to "Sta".
Generates formal and casual greetings from prenames and name tokens. For example, when input data contains "Sr. Artur Cruz," the rule generates the formal greeting "Prezado Sr. Cruz," and the casual greeting "Prezado Artur,". You can change the prefix and punctuation by editing the variables in the dq_Generate_Salutation Expression transformation.

Dependencies on Core Contact Data Cleansing Rules

The Portugal accelerator depends on the following contact data cleansing rules from the Core accelerator:
  • rule_Email_Validation
For more information about these rules, see OOTB Contact Data Cleansing Rules.

Updated January 30, 2023



We’d like to hear from you!