Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Enterprise only

Configure Field Standardization

Normalise field values in your Zingg match output to a canonical form using predefined value mappings.

Enterprise only. The Standardise Postprocessor is available in ZinggEC (Enterprise) and ZinggES (Enterprise Plus). Not available in Community.

After matching, field values across resolved records often contain inconsistent variations. For example, a job title field may contain VP of Ops, Vice President Operations, and V.P. Operations , all representing the same role but appearing differently across source systems.

The standardized postprocessor normalizes these to a canonical form before writing output. This is the final step between matched data and production-ready golden records.

Mapping file format and rules

Create a JSON file where each element is an array of equivalent values. The first value in each array is the canonical value. All other values in that array map to it in the output.

Example: jobtitles.json

[
  ["Chief Executive Officer", "CEO",
   "Executive Director",
   "Managing Director", "President"],
  ["Vice President of Operations",
   "VP of Ops",
   "Vice President Operations",
   "V.P. Operations", "VP Ops"],
  ["Software Engineer", "SWE",
   "Software Developer",
   "Developer", "Programmer"],
  ["Data Scientist",
   "Data Science Engineer",
   "DS Engineer", "ML Engineer"],
  ["Senior Manager", "Sr Manager",
   "Sr. Manager", "Senior Mgr"]
]

Three rules your mapping file must follow

Rule
Why it matters

First value is canonical

All variants in the array map to the first value in the output. ["Chief Executive Officer", "CEO"] → output will always say "Chief Executive Officer". Order your arrays with the canonical form first.

Lookup is case-insensitive

"CEO", "ceo", and "Ceo" all match the same entry. You do not need separate entries for casing variants.

Rows must be disjoint

A string must not appear in two different arrays. If "CEO" appears in two separate canonical groups, Zingg's behaviour is undefined. Each value belongs to exactly one canonical group.

Place your mapping JSON file in the directory from which you are executing Zingg. Reference it by base filename (without the .json extension) in your configuration. For example, a file named jobtitles.json is referenced as jobtitles.

Configure postprocessing

Use STANDARDISE_<basename> to reference a mapping file named <basename>.json. The STANDARDISE prefix tells Zingg which postprocessor type to use, and the basename without .json is the filename of your mapping file. For the example mapping above, the file is jobtitles.json and the reference is STANDARDISE_jobtitles.

Python

Configure input and output pipes, then run match or runIncremental as usual.

JSON

Use STANDARDISE_<basename> to reference a mapping file named <basename>.json. The STANDARDISE prefix tells Zingg which postprocessor type to use. The <basename> (without .json) is the filename of your mapping file. For the example above, the file is jobtitles.json and the reference is STANDARDISE_jobtitles.

Configure postprocessing

Add postProcessors to the field in your Zingg configuration JSON file. Use STANDARDISE_<basename> to reference a mapping file named <basename>.json.

Then run match or runIncremental as usual.

Verify the standardisation in your output

After running match, inspect a field that has the postprocessor configured. Values previously appearing as "CEO" or "Executive Director" in your input should now appear as "Chief Executive Officer" in the output, matching the canonical value in your mapping file.

If the output still shows raw variants:

  • Confirm the mapping file is in the correct directory (the one from which Zingg is being executed)

  • Confirm the postProcessors JSON value or the StandardisePostprocessorType Python argument exactly matches STANDARDISE_<basename> or ("STANDARDISE", "<basename>")

  • Confirm the field is not set as primaryKey: true - primary keys are never postprocessed

Last updated

Was this helpful?