CLI Command Reference
All Zingg CLI phase commands and flags in one place.
Basic invocation pattern
./scripts/zingg.sh --phase <phase_name> --conf <path_to_config.json>./scripts/zingg.sh <optional --properties-file path to zingg.conf> --run <path to python program>Use --run to execute a Python program through zingg.sh. Zingg Python programs are PySpark programs. The CLI executes both JSON config jobs and Python program jobs. It is not a replacement for the Python API; it is the runtime that executes both.
All phases
findTrainingData
All
Scans the dataset and selects candidate pairs for labeling.
label
All
Opens interactive labeling session. Run after
findTrainingData.
generateDocs
All
Generates HTML documentation of labeled training data for review.
train
All
Builds blocking and similarity models using labeled training data.
match
All
Applies trained models to the full dataset. Writes clusters to output.
link
All
Matches records across two separate datasets. Same model as match.
recommend
All
Generates stopword candidates for a specified field.
verifyBlocking
Enterprise
Checks blocking model coverage against known matching pairs.
trainMatch
Enterprise
Combined train and match in one phase call.
findAndLabel
Enterprise
Combined findTrainingData and label in one phase call.
runIncremental
Enterprise
Updates identity graph with new or changed records without a full re-match.
explainOutput
Enterprise
Shows pair-level evidence for how a specific cluster was formed.
generateDocs
All
Generates HTML documentation of model and data statistics.
reassignZinggId
Enterprise Plus
Reassigns Zingg IDs when switching to a new trained model.
updateLabel
All
Revisit and update previously marked training pairs. Run before train to correct labeling errors. Run generateDocs first to identify pairs to update.
diff
Enterprise
Compare two model outputs to understand exactly what changed between them before deploying. Identifies which clusters merged, split, or moved.
runLookup
Enterprise
Look up specific records in existing match output to find which entity cluster they belong to and get their Zingg ID
All flags
--phase
Required
The Zingg phase is to run. See phases table above.
--conf
Required
Path to your JSON config file.
--properties-file
Optional
Path to Zingg runtime properties
file (zingg.conf). This is required for Snowflake and some cloud connectors.
--zinggDir
Optional
Override the zinggDir from config. Useful
for S3 and GCS paths.
--showConcise
Optional
true or false. When true, hides
DONT_USE fields in the label phase
terminal display.
--column
Required with recommend
The field name to generate stopword recommendations for.
--originalZinggId
Required with
reassignZinggId
Path to the original production config file.
--run
Optional
Path to a Python program to execute through zingg.sh. Use instead of --phase and --conf when running Python-based Zingg programs.
--zinggid
Required with explainOutput
The Zingg ID of the cluster to explain. Find Zingg IDs in your match output ZINGG_ID column.
Example commands
findTrainingData
label (with concise display)
generateDocs
train
match
link
recommend (stopwords for fname)
runIncremental
reassignZinggId
updateLabel
findAndLabel (combined - smaller datasets)
verifyBlocking (run after label)
diff (compare two model outputs)
explainOutput (explain a specific cluster)
trainMatch (combined - Enterprise)
Last updated
Was this helpful?