Perception
Classify
nace classify https://example.com/invoice.pdf \
--class invoice:Invoice:"A supplier invoice" \
--class contract:Contract:"A signed agreement between two parties" \
--granularity pageClassify takes the same --class and --classes flags as Split, plus:
| Flag | What it does |
|---|---|
--granularity {document,page} | Label the whole file once, or each page (default document). |
--unknown {allow,force_best} | Let a unit be labelled unknown, or commit it to the closest class. Sent as unknown_policy. Default allow. |
Classify reads the original file, so it doesn't take a job: source. See Classify.